Points at line intersections, creation of

Post questions on how to use or achieve an effect in Inkscape.
User avatar
loonquawl
Posts: 135
Joined: Thu May 15, 2008 7:57 pm

Points at line intersections, creation of

Postby loonquawl » Fri Aug 15, 2008 4:42 am

Hi.

There was a similar question here, once (viewtopic.php?f=5&t=1143) - but now i ran into something that probably has an unrelated answer.
I have lots of paths, all intersecting one another. I'd like to put dots at the intersections, e.g. either use the intersection as a guide for creating little circles by hand (which would suck :roll: ), or somehow have inkscape fatten the intersections (it is not vital to have circles at the intersection, wobbly thickenings would suffice), or, best, have Inkscape relate the positions of the intersections to a script.... -> if nodes would be created at the intersections, that would be a solution, as they can be used as guides, which is why i linked the former question above.

Any suggestions?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Points at line intersections, creation of

Postby brynn » Fri Aug 15, 2008 7:06 am

When you say "fatten the intersections" it makes me think of Simplification, like the example in the Advanced Tutorial. I know the drawing is very different from what you describe, but is that kind of what you mean by fatten the intersection? Otherwise, I'm not following you. :?

User avatar
loonquawl
Posts: 135
Joined: Thu May 15, 2008 7:57 pm

Re: Points at line intersections, creation of

Postby loonquawl » Fri Aug 15, 2008 7:39 pm

What i need are blobs, squiggels, circles, short: any kind of markers at the place where two paths intersected. One idea was to somehow "fatten the intersections", so i could later mask the whole thing with the original, and the "fat" of the intersections would show. The simplification works, but not good enough: the intersections are fattened, but only as a byproduct of general smoothing of forms, so masking the simplified product with the original only produces a lot of very slim and pointy arrowheads.
Pretty near to what i want is this: If there are only two paths, that do not intersect themselves, but only each other, one can say "Path > Path from Stroke", and then make the Boolean operation "Path > Intersection", which leaves little rhomboids at all the intersections.
This does not work on intersections of one Path on itself, and for Intersections of every (from more than two) paths with every other, but illustrates the effect i am after.

Absolute Bliss would be to have Inkscape churn out all intersections numerically (or might anyone know of Freeware that could work on an exported Inkscape File and do this?)

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Points at line intersections, creation of

Postby microUgly » Sat Aug 16, 2008 10:52 am

I don't think there's a way to help you. I thought perhaps you could exploit that when a path self intersects it can create a hole (which you could then break apart) but it only works with fill, not stroke.

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Points at line intersections, creation of

Postby EarlyBlake » Sat Aug 16, 2008 1:20 pm

I can think of way to do it but it may take more time than putting in the dots by hand. You can add dot to paths but only at regular intervals or at the start or end. Instead of combining paths, cut or break them apart then add a start or stop mark to the new paths.

How many lines and intersections are we talking about? And are they straight or curved? If it's a few paths that intersect multiple times, the boolean functions will be faster. If its a lot of lines with a few intersection than go with the manual option.

You turn on the dots in the path fill dialog Shift CTR F under stroke style (the same tab menu sets the width). I think the dots only come in black. You can use boolean operations like cut or difference but, you may have to do two boolean operations for each intersection. The cut function can be glitchey when you use it on curved paths. The difference and division operation are more reliable, but they only work on paths that are not straight lines. Doing a lot of boolean operations will be time consuming. If you aren't very good with the boolean operations it, will might be faster to just put the dots in manually. Or draw new paths over the old ones going for intersection to intersection.


Return to “Help with using Inkscape”