Is there an 'autofollow' feature for making lines?

Post questions on how to use or achieve an effect in Inkscape.
User avatar
ottadini
Posts: 34
Joined: Thu Sep 24, 2009 4:27 pm
Location: Australia

Is there an 'autofollow' feature for making lines?

Postby ottadini » Wed Oct 05, 2011 11:46 am

Hello,
I am doing some digitising of a map. To be able to use the polygons in a numerical modelling tool, I need the polygon edges (where they meet) to be exactly the same, and have no gaps etc.

In many cases I don't *have to* create polygons for every feature - i.e. I can simply connect lines together and the modelling software will work it out, but in some cases I need to duplicate a shared edge. I have been able to duplicate the existing polygon, then split it into segments and delete the excess segments, but it would be very nice to be able to have some sort of autofollow feature where I can set a new polygon edge to exactly match an existing one.

Wishful thinking?

Ben.

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

Re: Is there an 'autofollow' feature for making lines?

Postby brynn » Wed Oct 05, 2011 5:47 pm

Hhhm, I don't know of such a feature, or about the feasibility of such a new feature. But if you're not already familiar with Inkscape's snapping and grid features, especially snapping to a grid, you might find that helpful. That is if your polygons could conform to either a rectangular/square or axonomic/isometric grid.

User avatar
ottadini
Posts: 34
Joined: Thu Sep 24, 2009 4:27 pm
Location: Australia

Re: Is there an 'autofollow' feature for making lines?

Postby ottadini » Wed Oct 05, 2011 7:41 pm

No, these aren't regular shapes unfortunately. The image in the post at viewtopic.php?f=5&t=10382&p=38602#p38602 gives an idea of the sort of shapes.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Is there an 'autofollow' feature for making lines?

Postby ~suv » Wed Oct 05, 2011 8:29 pm

You could draw the lines once, then - when all is drawn - combine them into a single large path and use that to 'Path >Divide' a rectangle as large as the digitized map: this will create individual shapes which share the same edges.

(to optimized the result of 'Path > Divide', you might need to extend the segments near the edges of the rectangle to be divided so that they extend beyond the edges of the rectangle -> in the node tool, drag those nodes with 'Ctrl+Alt' pressed (which will constrain the movement aling the direction of the line segment or the node handles if curved)).

User avatar
ottadini
Posts: 34
Joined: Thu Sep 24, 2009 4:27 pm
Location: Australia

Re: Is there an 'autofollow' feature for making lines?

Postby ottadini » Thu Oct 06, 2011 9:18 am

Ah, now that is power user stuff. Fantastic advice, thanks again. That'll make it much quicker than trying to make polygons everywhere.


Return to “Help with using Inkscape”