After some serious pushing from the guys at the office, I finally decided to briefly sum-up my (quite basic, to be honest) 3D-printing work-flow.
I use Fedora 20 on a daily basis, so my toolchain consists of
- Inkscape 0.48.4 r9939 (Aug 19 2013)
- Modified version of Paths2OpenScad (pull request pending) – grab it at my Git repo
- OpenSCAD version 2014.0
First-up install the software:
sudo yum install inkscape openscad git
Then clone the Paths2Openscad repo and “install” the extension
git clone https://github.com/rajcze/paths2openscad
ln -s `pwd`/paths2openscad.* ~/.config/inkscape/extensions
Download the badge and open it up in Inkscape.
The actual workflow
Make sure that all the objects are paths by using Path→Object to Path on each object.
Next-up I usually like to divide the layers visually by height – set the objects’ colours differently for each intended extruded height.
Then, change each of the object’s ID to represent its required extruded height. The Paths2Openscad extension uses the object ID as a name for each path, so you will know which object is which path.
To export the “model” into OpenScad format, just select all the pieces and hit Extensions→Generate from path→Paths to OpenScad.
If you used my modified version, then there is one neat trick you can use – if you named the objects in a way, that the ID ends in
NNN_NNN_mm pattern (where NNN is any integer), the extension will auto-magically set the heights for you. Just select the “Auto Height” option in the dialog.
You can see that the names and heights are set correctly in the exported file by opening, and rendering it in OpenScad:
And that’s about it. I’ll update the post with the picture of 3D printed badge, as soon as I’ll be able to print it 🙂 Happy Cooking!