We're excited and proud to launch Thingiverse Apps. Learn More about what this means to you.
Inkscape font -> DXF file -> OpenSCAD with Write.scad
I really like the Write extension for OpenSCAD http://www.thingiverse.com/thing:16193, but as soon as I used it I wanted different fonts.
I work with Inkscape a lot and I like the text fonts it has built in. This Inkscape extension is a python script to begin the process of creating a font face (a DXF file) for OpenSCAD and the Write extension. Some manual work is necessary in Inkscape to finish the process, but it's worth it.
Once the "Font4OpenSCAD is working" message disappears, you have to finish the process manually. I hope to find a way to do this in the script later, but only time will tell whether I succeed.
To finish and create the DXF output:
Use the resulting DXF file in OpenSCAD with the Write extension as you would one of the default fonts. The file TestWriteFont.scad is a slightly modified SCAD file from the excellent Write.scad thing by HarlanDMii http://www.thingiverse.com/HarlanDMii that lets you set the font name in a variable and then test all of the charcters in the font.
The DXF output files should not be posted as "things" unless you KNOW the original font is open source, or public domain. Most computer fonts are not, but I believe the ones with Inkscape are. Please proceed carefully and knowledgeably.
The output of this extension will not create "solid" letters like those in the default fonts packaged with the Write extension. The output is mostly "hollow" characters. You can edit the individual letters to make them "solid". It is not difficult, and can be done pretty quickly in the XML editor in Inkscape if you're familiar with that program. You need to break the characters into separate paths first, then it's pretty easy, but time consuming. Again, this is something I hope to automate, or maybe someone else will beat me to it. (I will try to add steps for this manual process later.)
Font size and positioning will vary with the font you choose.
While I have printed a couple of items with characters produced with fonts created as described, I cannot test this exhaustively. Please don't ask me about problems, I probably will not be able to help.
Inkscape font4OpenSCAD extension by sawdusty is licensed under the Creative Commons - Attribution license.
So what's this mean?
We're sure sawdusty would love to see what you've printed - take a photo and share it on Thingiverse as a Make.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. You can also download the Thingiverse Mobile app (available via Google Play and Apple App Store) to take a photo and upload your Make right from the app!