Hacker News new | ask | show | jobs
by Rantenki 7 days ago
I wrote a pen-plotter GUI and gcode sender in Rust. By hand. Like an animal.

I am the only user. Sometimes it's the process that matters, and exercising your brain is important too. I get that there is a lot of existential dread around AI taking our jerbs, and excluding humans from the process of creative work, but... you can still just write code, just for the personal satisfaction.

https://github.com/armyofevilrobots/bap-egui

4 comments

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?
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.
Nice I am designing/building a pen plotter myself at the moment and was surprised by the lack of good software. Will give this a try!
I was going to ask what is a pen plotter. Apparently this is like a printer but it uses a real pen to draw. Neat.
thank you! I will give it a try with my penplotter. I tried to vibe something like that in the past, but the outcome wasn't at all what I expected.