4 ms·
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 b
by Rantenki 4mo 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 https://github.com/armyofevilrobots/bap-egui
- efortis 4mo agoThis 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?
- Rantenki 4mo agoI 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.
- ottonormal 4mo agothank 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.
- nha1 4mo agoI was going to ask what is a pen plotter. Apparently this is like a printer but it uses a real pen to draw. Neat.
- duckerduck 4mo agoNice 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!