There is a function in the api called RemoveOverlaps, which seeks for overlaps in one curve. Is there a way to use this function over multiple curves from multiple shapes?
In short i try to remove double lines in my drawing soo my lasercutter does not cut that line twice.
Have you tried Shelbys Super Stitch?
I've downloaded and will report shortly as to how it works.
I am afraid it does not work...
It is done in an older Corel version and uses features which are not supported in the new versions. Probably CorelScript methods of increasing the speed. I think it uses the method/code recommended by Jeff Harrison 7 years before, when he was not selling macros... Mek brought a link to that old thread.
I have in mind a scenario to solve part of the problem. At least for straight lines, but I would like to know if a line obtained by welding of two or more lines is cut only once like I suppose... It will have more nodes then necessary but theoretically it should be cut once.
Can anybody confirm that?
Although no "version compatibility" listed on the Macromonster site, it does not work with recent versions of CorelDRAW. Even worse, running the macro leaves CorelDRAW in a strange state requiring restart.
Welded straight lines (even if exact duplicates) engrave twice. TABing through the nodes with Shape Tool looks like it would only engrave once, but the welding process eliminates one node so that 2nd line is reversed.
In order to solve the 'strange state' without restart you must use a simple macro to, let's say, unlock the interface:
Application.EventsEnabled = True
Application.Optimization = False
If Documents.Count > 0 Then
ActiveDocument.PreserveSelection = True
Thanks for the tip. I've stored it and will use it the next time that "strange state" shows up!