2

I have two adjacent paths in Inkscape with a tiny empty space between them. I'd like to combine them into a single continuous path such that each two adjacent nodes (in the below image) become one node, and the empty space gone.

For now I'm simply moving the nodes to the same point and combining the paths. But this feels like a hack and limits what I can do with the path (moving this particular node for example).

I found two questions asking about joining end points, but my question is about mid points, and the "Join selected nodes" button doesn't work with mid points:

I also found this question, which looked promising, but it's about Illustrator, not Inkscape:

  • Hi imgx64, welcome to GDSE and thanks for your question. If you want to know more about the site, please see the help center or ping one of us in Graphic Design Chat once your reputation is sufficient (20). Keep contributing and enjoy the site! – Vincent May 12 '15 at 8:04
2

You're so close with your question - you just need to turn your mid points into end points.

In my screenshot I've filled the parts so you can see the path more clearly.

Select one of the pieces and in node edit mode use the separate tool with tooltip "delete segment between two non-endpoint nodes".

Break the piece by deleting the section between two nodes

Repeat for the other piece and now you've got two sets of endpoints, top and bottom, that you can join.

Join\merge the end nodes

The newly created nodes are superfluous in your design so they can be deleted.

  • I'd normally post keyboard shortcuts/menu routes but I can't figure what they are for node editing. – user19660 May 12 '15 at 8:24
  • When I tried "delete segment between two non-endpoint nodes", it messed up the path (i.stack.imgur.com/tdkhN.png ). But it got fixed after I joined the nodes. Thanks. – imgx64 May 12 '15 at 9:46
  • The imgur pic issue with the top right node is very likely a case where you've got two nodes really close together but not actually joined. Cutting the path elsewhere highlights this because the resulting area is vague and based on two bounding strokes. It fixes itself again when you rejoin but only because the gap is now less "geometrically vague" and the area can be defined. Personally I'd node select the top corner and merge what must be two nodes to prevent any weird issues in the future. – user19660 May 12 '15 at 11:45
2

for speed up the method of Matt Bracewell:

  • select two paths
  • combine (Ctrl+K) (you have 1 path)
  • edit node mode (F2)
  • border select the 4 node (close to white space)
  • "delete segment between two non-endpoint nodes" (Alt + Canc)
  • select a pair of nodes
  • "join selected node" (Shift + J)
  • or "join selected end nodes with new segment" (Alt + J)
  • repeat for oher pair
  • Aha! The keyboard shortcuts :-) An excellent addition. I make "delete segment between two non-endpoint nodes" Alt+Backspace on my Xubuntu/Inkscape 0.48 machine. – user19660 May 12 '15 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.