Convert any SVG 1.1 path to gcode for a pen plotter, laser engraver, etc.
Convert any SVG 1.1 path to gcode for a pen plotter, laser engraver, etc.
## TODO
## Demo
- [ ] Biarc interpolation (G2/G3 instead of many G1)
- [ ] Sort paths by distance to reduce G0 distances (traveling salesman problem
- [ ] Comments in GCode input
## Known bugs/issues
- [ ] Smooth curves should not use the control point when the previous curve is not of the same type (quadratic -> smooth cubic, cubic -> smooth quadratic)
- This is just a nit, it shouldn't matter if the SVG is correct
* Use a 3D printer for plotting: (thanks @jeevank for sharing this) https://medium.com/@urish/how-to-turn-your-3d-printer-into-a-plotter-in-one-hour-d6fe14559f1a
* Use a 3D printer for plotting: (thanks @jeevank for sharing this) https://medium.com/@urish/how-to-turn-your-3d-printer-into-a-plotter-in-one-hour-d6fe14559f1a