svg2gcode
svg2gcode copied to clipboard
npm package
It would be great to be able to consume the wasm file and a JavaScript wrapper using npm. Would this be simple to achieve?
This project is extremely useful. I've written a node.js project which reads a gcode file line by line and sends it to a serial port but I would like to streamline the SVG to gcode generation in my setup to directly send the resulting gcode to my plotter.
+1 for this. I'm converting canvas to gcode using gcanvas, but its a bit buggy, and the gcanvas project isn't supported anymore.
Instead i'm using nodes canvas package, exporting as svg and then using this tool to convert to gcode. Would be nice to do that in one process