sameer / svg2gcode

Convert vector graphics to g-code for pen plotters, laser engravers, and other CNC machines
https://sameer.github.io/svg2gcode
MIT License
254 stars 49 forks source link

Feature request: multiple passes #30

Open wakass opened 1 year ago

wakass commented 1 year ago

Would be great to be able to specify multiple passes per path, or object. This would be handy for laser-cutting, where multiple passes are common.

wakass commented 1 year ago

I've taken a stab at it here. Works well so far. Not sure modifying the XmlVisitor trait is the way to go, or modifying the visit_enter of the ConversionVisitor would be the better approach. I'm open for suggestions or proper implementations. :)

Regards