This is probably obvious and simple, but...
I have a shape created by three hexagons and they are abutted along edges. I would like to combine them into a single object and in doing so reduce the lines so that the abutted lines become one line. the reason is that currently they are processed twice along each abutted line by my laser.
I can use combine but this still leaves them as discrete editable shapes in node editor, so clearly the double lines are still there.
If I use weld I lose the lines.
Combine the shapes to a single object / curve
Select the shape with the shape tool
Break Curve (This will bread each curve at its node points)
Now Break Curve Apart (Ctrl - K)
Run Macro - Remove Underlying Dups (attached)
Thanks for the macro and it works perfectly on the image I unloaded. Unfortunately I didn't really think about the subtleties of overlapping and duplicates.
The hex was an example of some overlap things where there are true duplicates but more common the overlap is not a duplicate but a different length such as in the image below: