Mobile app version of vmapp.org
Login or Join
Barnes313

: Inkscape: how to create a polygon from several polylines? Drawn by hand in Inkscape, I have several polylines and polygons, more ore less in contact. I want to build a polygon from them (in

@Barnes313

Posted in: #Inkscape #Shapes

Drawn by hand in Inkscape, I have several polylines and polygons, more ore less in contact.

I want to build a polygon from them (in zone A) and fill it with a given colour. The desired polygon will have as border the small polyline on the right and a portion of the longer polyline on the left (that belongs to polygon B).

It is a cartography issue.

I tried several techniques but I am lost in the Inkscape menus.
Thanks for helping me

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Barnes313

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah625

Working from your example which has two paths, I'll call the path on the left "path 1" and the path on the right "path 2".


Ensure that path 2 is overlapping path 1 at the intersections, even if ever so slightly.
Select path 2, and choose Edit > Duplicate.
The duplicate of path 2 will now be placed on top of everything and selected. Keep it selected.
Hold shift and select path 1 as well.
Choose Path > Cut Path. Because path 1 is on bottom, it will be cut, and because the duplicate of path 2 is on top, it will be used to cut path 1. Path 1 will now be split into three parts, top, middle, and bottom; and the duplicate of path 2 will disappear.
Select the middle of path 1, and also path 2. Then choose Path > Combine.
We're almost there. With this new path selected, choose the node tool (you can press the "N" key), and zoom in to the two places in this path that need to be joined.
Select the two nodes that are very close together but not joined, and press the button on the Node Tool menu bar called "Join Selected Nodes". Do this for both of the break points in the path.
VoilĂ !

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme