Spiffy is a SVG to GCode converter.
cmd/spiffy
is intended to take a SVG file and generate a GCode file that can be used to engrave the SVG
onto a material using a CNC machine.
Since our svg parser is not perfect and only supports paths, we use
Inkscape
to convert any SVG to the supported format.
- Load SVG file
- Parse SVG to something GO-readable
- Generate GCode from SVG
- Paths
- Circles
- Rectangles
- Text (if converted to paths via ikscape)
- GCode: https://marlinfw.org/docs/gcode/G005.html
- SVG: https://developer.mozilla.org/en-US/docs/Web/SVG
- testing tool: https://nraynaud.github.io/webgcode/
- Inkscape API ref: https://wiki.inkscape.org/wiki/Action
cmd/spiffy/AGH.svg
is a trademark/registered trademark of AGH University of Science and Technology. It is used here for educational purposes only.
The project is licensed under the (attached) MIT License.