In a previous thread you said “as the lines must be close to identical to be removed” - and that you were adding code to try and find partially matched lines. But this is just about same-sized lines.
I’m cutting some finger lines that are all overlapping, but some may not be exactly overlapping, may even be different lengths by a bit (I think it’s just one line at 0.01mm)
What’s the tolerance for x/y position, or do you check x/y close enough, then length as well? or just each point?
Thanks for the reply John, I’m more interested in how it works, is it “identical” or “close to identical” (I’ve written some (hilarious) SVG editing apps before).
I guess, in the optimization function, you have a loop where you either compare everything against everything, or you order them by length then compare (xy-xy) each to the next n components until the length of the next component is > threshold or /2?
I guess I should study the preview tool more, that will show me which lines are not being drawn, and I could work it out from there.
Speaking of nodes, some node-info, transform type in, scaling and absolute/relative positioning of nodes would be cool.