penprint banner

penprint

5 devlogs
29h 7m 2s

Software that converts images into 3d printer instructions so that the 3d printer can be used as a penplotter

This project uses AI

Used ChatGPT to debug & research🙏

Demo Repository

Loading README...

akilan.purushothaman

Shipped this project!

Hours: 5.69
Cookies: 🍪 152
Multiplier: 26.67 cookies/hr

So the app works on mobile now and accepts svgs! This project is about finished now!!

akilan.purushothaman

I made the tool easier to use and cleaned it up a little. I also added the ability to add your own SVGs and some mobile support. I think this might be my last devlog for this project.

Attachment
0
akilan.purushothaman

Shipped this project!

Hours: 26.75
Cookies: 🍪 354
Multiplier: 13.25 cookies/hr

The 3D printer finally printed an image I made in penprint!! It’s not perfect and there are a few things can I could add to make the tool more complete (eg. automatically replacing the speed and pen up/down gcode with settings from the user). However, I shipped fairly early because I added a feature that allows people to send their vector art to me to print on my 3D printer! Further development will be a lot more fun when I use art created by the community to test the tool…

akilan.purushothaman

I just made the repo and deployed the frontend for the thing on Vercel. However, people cannot generate their own gcode yet from the image, but they can send me images and I can print them and test it out myself! I chose to do this because it felt like a fun way to test the diy pen plotter. Also, i forgot to talk about the pen mounts I 3d printed so I added a picture going over them.

Attachment
Attachment
0
akilan.purushothaman

Ok Ok, so it’s drawing stuff now. I was able to rebuild the image storage system and easily generated gcode for the printer. Still, it’s a bit weird when it comes to where to draw the shapes and all.

Attachment
0
akilan.purushothaman

So I can now (somewhat) parse svgs in the engine. Problem is text and gcode conversion. I am trying to solve Text by using this thing called hershey fonts, which is a font where each letter can be drawn with one line. Unfortunately, this means I have to handle formatting and drawing all by myself. havent done anything on gcode conversion yet

Attachment
0
akilan.purushothaman

Look there’s a hair on your screen… JUST KIDDING. I actually spent 3 hours trying to figure out how to turn a bezier curve into short little lines so that I can generate instructions that tell the 3d printer where to put the pen. Of course I haven’t figured out how to actually talk to the printer yet… or create any other shapes… Next, I need to do the same thing for drawing circles. Wish me luck!

Attachment
0