Open daniel-starke opened 2 years ago
Inside of an object, paths are not distinguished to be inner or outer path.
So if you want specific print order, you can design and separate the two objects, and specify their print order separately.
I am aware of that workaround. Nevertheless, if a human can distinguish both, a program is also able to do so. The easiest way is the scan line algorithm.
@daniel-starke you are right.
Here is scenarios to be considered,
To detect overlapping areas, we will need to calculate cross points over scan lines, and generate even more points. I think we can do simple no-overlapping path detection (like we did for CNC), and ignore overlapping ones.
I ran into the same problem where I cut many small parts from a single sheet. The pathplanner cut off large segments which needed further cutting up, which resulted in misalignments. Furthermore, as the cutting started at the edge, the clamps holding down the plywood didn't serve any purpose anymore.
To solve the scenario's above, one way of solving it would be:
This should create a sort of spiralling path outwards, and solve the problems of premature disconnects, nested paths and overlapping paths.
Attached a file I used.
Animated preview of how Luban routed the laser cut:
To have more control over the pathplanner would be highly beneficial. I've found some settings in Lightburn that would work in my case, by using the Order by Group as first priority: Hope this helps.
I am adding my voice to this request. I cut lacy works in paper and when the outline is cut first of course the fan blows the pieces out of alignment. The animated preview that @mutatrum posted is ridiculous... the amount of time wasted on that pathing! Time is money when it comes to laser work, especially if you are cutting things for other people.
similar problem here. it seems to be impossible to cut this part properly.
When importing a DXF file, I would like the cut order to follow the sort order of the objects in the DXF file. Or add an option to specify this behavior. This alone will satisfy my needs.
Wrong cutting order for laser
Affected Version
Luban 4.4.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The inner path is cut before the outer path so that the whole object does not falls down before all inner parts are cut.
🌍 Your Environment
Platform: