[Chris Mitchell] was going to make his own plotter for doing cursive writing for cards but realized he might be able to use his 3D printer to do the writing instead. But then he couldn’t find any suitable software so he did what you’re supposed to do in this situation, he wrote his own called 3DWriter. He even 3D printed a holder so he could attach a pen to the side of the extruder. When not in use as a plotter he simply retracts the pen tip.
The software is written in C# for Windows and is available on GitHub along with a detailed write-up. He clearly put a lot of thought into what features the software offers. After selecting the font, you type in whatever you want printed and then preview it to make sure it looks good. There’s also a bunch of G-Code settings you can fill in such as bed size, the horizontal and vertical offsets of the pen tip from the extruder tip, drawing speed and so on. There’s even an option to do a dry run with the pen raised so you can make sure it’ll draw on the bed where you expect it to.
The code itself is quite clean and easy to understand. If you’re curious like we were at what information is in the font files and how it’s translated into G-Code then download the source from the GitHub page and have a look. [Chris] settled on a font set called Hershey fonts since they’re primarily stroke based fonts as opposed to outline fonts which are what other programs he’d looked at used.
This makes us think of all those 3D printers with busted extruders we’ve seen collecting dust on hackerspace shelves or simply ones considered obsolete. Using them as a plotter gives them new life — even if just as a fun way to learn about writing code for CNC machines. It makes us wonder what other 2D uses they can be put to… cutting vinyl? laser printing? Ideas anyone?
In any case, have a look at the video below to see it in action as a 2D plotter. As a bonus, you’ll also see line art it drew using an Inkscape plugin.
[Chris]’s hack reminds us of other custom G-Code writing software we’ve seen for 2D. There’s one that gives you a simple drawing program for making your 2D image, and then produces G-Code so that your 3D printer can extrude the drawing as a single plastic layer. Then there’s one that takes an image of a kid’s drawing using a webcam and converts it to G-Code for etching with a laser printer.