Using Inkscape with Cutters/PlottersAutomatically join (many) selected nodes (within a tolerance) - OR - remove duplicate line segments (within a tolerance)
Hi, I need to Automatically join (thousands of) selected nodes (within a distance of each other) - OR - remove duplicate line segments (again, who's vertices are within a distance tolerance).
I am cutting out a honeycomb of shapes with my laser cutter. And I want to generate optimal paths, remove any redundant linesegments.
Because of my OpenSCAD process, I have 8 duplicate line segments for every hexagon edge (see picture). If I hand-created the honeycomb in Inkscape, I would have 2 duplicates per edge (same problem).
The 8 lineseg's vertices are slightly different (within 0.0001) from each other because of how I generate them in OpenSCAD.
I'd like to snap these duplicate nodes together, by specifying a tolerance factor (nodes that are within 0.0001 of each other should be combined). This will save a lot of time in my laser job
The "Join Selected Nodes" button should be able to do the job, but it doesn't have a tolerance - I'm not sure it would even handle 1.) adding more than one endpoint together, or 2.) removing the extra lines...
Here´s an alternative way by using your drawing as a blueprint: draw one zickzack and as much horizontally lines as needed - combine - duplicate - let snap:
Hi, I need to Automatically join (thousands of) selected nodes (within a distance of each other) - OR - remove duplicate line segments (again, who's vertices are within a distance tolerance).
I am cutting out a honeycomb of shapes with my laser cutter. And I want to generate optimal paths, remove any redundant linesegments.
Because of my OpenSCAD process, I have 8 duplicate line segments for every hexagon edge (see picture).
If I hand-created the honeycomb in Inkscape, I would have 2 duplicates per edge (same problem).
The 8 lineseg's vertices are slightly different (within 0.0001) from each other because of how I generate them in OpenSCAD.
I'd like to snap these duplicate nodes together, by specifying a tolerance factor (nodes that are within 0.0001 of each other should be combined).
This will save a lot of time in my laser job
The "Join Selected Nodes" button should be able to do the job, but it doesn't have a tolerance - I'm not sure it would even handle 1.) adding more than one endpoint together, or 2.) removing the extra lines...
Anyone got a method?
I dunno about removing all the extra bits... no automagic tricks I can think of.
I might get the honeycomb laid-out, then trim the perimeter.
Here's one approach to the honeycomb with no duplicated segments:
Here´s an alternative way by using your drawing as a blueprint: draw one zickzack and as much horizontally lines as needed - combine - duplicate - let snap: