Hacker News new | ask | show | jobs
by efortis 15 days ago
This is going to be one my next projects for experimenting with the Web Serial API. I got an old Ioline plotter that refuses to die. Any advise or tips for where to start with the SVG to Gcode conversion?
1 comments

I used svg2polylines to load the SVG into line segments, interpolating any splines into something easier to use for a plotter. Feel free to take a look at the core/project/import.rs in the project I linked. You might also want to look at the core/post.rs which does the gcode generation.