3D Printing Workflow with InkScape

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.

Let’s s say you want to 3D-print some of your awesome Fedora Badges. I’ll take the Free Media Badge as an example.

The tools

I use Fedora 20 on a daily basis, so my toolchain consists of

Prep

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
cd paths2openscad
ln -s `pwd`/paths2openscad.* ~/.config/inkscape/extensions

Download the badge and open it up in Inkscape.
Screenshot from 2014-08-18 14:00:17

The actual workflow

First up, simplify the badge to the basic shapes you want to have printed:
Screenshot from 2014-08-18 14:04:03

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.

Screenshot from 2014-08-18 14:17:39

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.

Screenshot from 2014-08-18 14:18:53
Screenshot from 2014-08-18 14:18:37
Screenshot from 2014-08-18 14:19:11
Screenshot from 2014-08-18 14:19:25

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_mm or 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.

Screenshot from 2014-08-18 14:22:41

You can see that the names and heights are set correctly in the exported file by opening, and rendering it in OpenScad:

Screenshot from 2014-08-18 14:24:25Screenshot from 2014-08-18 14:30:43

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!

Advertisements

About jskladan

Ginger to the bone!
This entry was posted in Fedora. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s