Can anyone suggest a way to make zero-width cuts in paths?
Can anyone suggest a way to make zero-width cuts in paths?
I have many disjoint path sections that I need to conjoin into one path section without any change to the filled appearence i.e. from A to B
Can anyone suggest a way to make the cut shown in red? EDIT: without requiring manual rework.
I have attempted various methods without success.
Thanks.
Can anyone suggest a way to make the cut shown in red? EDIT: without requiring manual rework.
I have attempted various methods without success.
Thanks.
Last edited by chrisjj on Wed Feb 13, 2013 6:33 am, edited 1 time in total.
Re: Can anyone suggest a way to make zero-width cuts in path
Here is a way to achieve the result:
1. cut the path into the right topology
2. pull out a guide line in the right position
3. enable snapping
4. move points into the right position-snap them to the guide line
1. cut the path into the right topology
2. pull out a guide line in the right position
3. enable snapping
4. move points into the right position-snap them to the guide line
Last edited by Lazur URH on Wed Feb 13, 2013 6:32 am, edited 1 time in total.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:4. move points into the right position-snap them to the guide line
Thanks Lazur but since there are hundreds of points so created and I have to repeat this cutting each time source geometry changes, I would prefer to avoid that need to find, select and snap each cut point individually.
Is there a way to automatically snap together all points in each group of points within a certain small distance of each other?
Re: Can anyone suggest a way to make zero-width cuts in path
I try to use snapping as less as I can, also, the thing you want to achieve with the path.
The problem is, if you have a path that has double points in one exact position,
AND you want to edit the path furthermore by adding/substracting/intersecting other paths to it, inkscape automatically merges the two points together. -Which is very helpful in other situations by the way.
The problem is, if you have a path that has double points in one exact position,
AND you want to edit the path furthermore by adding/substracting/intersecting other paths to it, inkscape automatically merges the two points together. -Which is very helpful in other situations by the way.
Re: Can anyone suggest a way to make zero-width cuts in path
One other method, which might help, if you have all topology as you want, you can window select all the points that should be aligned,
and use the align and distribute menu to make them aligned onto one horizontal or vertical line
or type in the coordinate that all should have the same.
That way you can handle hundreds of points at the same time.
and use the align and distribute menu to make them aligned onto one horizontal or vertical line
or type in the coordinate that all should have the same.
That way you can handle hundreds of points at the same time.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:The problem is, if you have a path that has double points in one exact position,
AND you want to edit the path furthermore by adding/substracting/intersecting other paths to it, inkscape automatically merges the two points together.
Ouch! Thanks for the warning.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote: you can window select all the points that should be aligned, and use the align and distribute menu to make them aligned onto one horizontal or vertical line
Thanks - I had never though that the Align and Distribute command on the Object menu would also work on points, but yes it does.
Lazur URH wrote: or type in the coordinate that all should have the same.
Where do I type the coordinate, please? I tried Object, Transform but this does not work on points.
Lazur URH wrote: That way you can handle hundreds of points at the same time.
The snag is I can only get a few point in each selection box, because points are close together horizontally (needing zoom in) but wide apart vertically (needing zoom out).
I wonder is there is any way to select a point without having to bring it into view. E.g. by label - though I find no labelling feature in the program.
Re: Can anyone suggest a way to make zero-width cuts in path
I don't know what is your main goal with this, but doubles are not "good" for this drawing type's logic.
I'm guessing you want to display a path between two different path's nodes as one object.
It would be better, if you combine -or group- the the two paths and the one in between together. This way you wont get any errors.
I'm guessing you want to display a path between two different path's nodes as one object.
It would be better, if you combine -or group- the the two paths and the one in between together. This way you wont get any errors.
Re: Can anyone suggest a way to make zero-width cuts in path
chrisjj wrote:Lazur URH wrote: or type in the coordinate that all should have the same.
Where do I type the coordinate, please? I tried Object, Transform but this does not work on points.
Sorry I was wrong with the coordinates, second checked that.
It only moves selected points together.
You can type it on the top menu's boxes where x:, y:, w:, h: is showing up.
chrisjj wrote:Lazur URH wrote: That way you can handle hundreds of points at the same time.
The snag is I can only get a few point in each selection box, because points are close together horizontally (needing zoom in) but wide apart vertically (needing zoom out).
I wonder is there is any way to select a point without having to bring it into view. E.g. by label - though I find no labelling feature in the program.
There is swomething that might be possible because there is an option of writing the path's nodes numbers if I remember right, but that's not something you can search for.
Possibly something to script.
(Find tool with Ctrl+f wont help with that)
Some other advice:
Scale the whole path.
Use shift to add to selection. When zoomed in, pan the image by holding down middle mouse button-scroller-.
Last edited by Lazur URH on Wed Feb 13, 2013 7:56 am, edited 1 time in total.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:I don't know what is your main goal with this
A DXF file for CAM.
Lazur URH wrote: but doubles are not "good" for this drawing type's logic.
These "doubles" are two points at the same coordinates and on the same path but non-adjacent in sequence on that path. What is not good about this, except for the promblem you noted of Inkscape somtimes combining the points?
Lazur URH wrote:It would be better, if you combine -or group- the the two paths and the one in between together.
I have already combined them. To group them would require me splitting this object into many separate objects.
Re: Can anyone suggest a way to make zero-width cuts in path
chrisjj wrote:Lazur URH wrote:I don't know what is your main goal with this
A DXF file for CAM.
Now I see, that puts things into perspective.
chrisjj wrote:Lazur URH wrote: but doubles are not "good" for this drawing type's logic.
These "doubles" are two points at the same coordinates and on the same path but non-adjacent in sequence on that path. What is not good about this, except for the promblem you noted of Inkscape somtimes combining the points?
It is always a problem, both in cad and in drawing to handle and modify things that are too close to eachother. In this case, when two points have the same coordinates in a path (or the path goes through it's fill), they are handled as two different objects that are above eachother-so inkscape merges them at boolean actions.
I can't think of otheer solution than creating one path with the right topology, then adjusting all the critical parts. There is no simpler way to do that as far as I know.
Last edited by Lazur URH on Wed Feb 13, 2013 8:27 am, edited 1 time in total.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:It is always a problem, both in cad and in drawing to handle and modify things that are too close to eachother.
I can only say that is not my experience that it is generally a problem in other programs.
Lazur URH wrote:In this case, when two points have the same coordinates in a path ... inkscape merges them at boolean actions.
That's really disappointing. I hope this gets fixed in a future version.
Thanks for your help.
Re: Can anyone suggest a way to make zero-width cuts in path
chrisjj wrote:Lazur URH wrote:It is always a problem, both in cad and in drawing to handle and modify things that are too close to eachother.
I can only say that is not my experience that it is generally a problem in other programs.
I used autocad on solid models with boolean actions, it was horrible.
The problem appears in inkscape as well though:
When one path is substracted from another that has the same path in it will result creating random nodes.
chrisjj wrote:Lazur URH wrote:In this case, when two points have the same coordinates in a path ... inkscape merges them at boolean actions.
That's really disappointing. I hope this gets fixed in a future version.
This is very helpful most of the times. Svg is mostly for displaying graphics, where doubles are unnecessary. It would be best if it was able to turn off an on if they ever work on it.
You are welcome.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:When one path is substracted from another that has the same path in it will result creating random nodes.
I'm glad that's not part of the problem of this thread.
Lazur URH wrote:Svg is mostly for displaying graphics, where doubles are unnecessary.
Here's a disproof:
Lazur URH wrote: It would be best if it was able to turn off
Agreed!
Re: Can anyone suggest a way to make zero-width cuts in path
chrisjj wrote:Lazur URH wrote:Svg is mostly for displaying graphics, where doubles are unnecessary.
Here's a disproof:
That is best to be drawn with two paths combined if that marked point should remain two different ones, which, is mostly unnecessary, and that point can be merged most of the times into one.
A disproof would be adding path object along that path, or adding some dotted line style to it.
Re: Can anyone suggest a way to make zero-width cuts in path
Lazur URH wrote:that point can be merged most of the times into one.
Such a merge would require one point to have four segments, which is surely impossible.
Re: Can anyone suggest a way to make zero-width cuts in path
You are right I described it wrong. It cannot be merged, I was thinking of merging the two paths together by adding them to each, which if you don't move one point then will result only in a combination.
http://kepfeltoltes.hu/130213/sg3_www.kepfeltoltes.hu_.png
http://kepfeltoltes.hu/130213/sg4_www.kepfeltoltes.hu_.png
http://kepfeltoltes.hu/130213/sg3_www.kepfeltoltes.hu_.png
http://kepfeltoltes.hu/130213/sg4_www.kepfeltoltes.hu_.png