Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!


by Spiritdude, published

svg2scad by Spiritdude Aug 7, 2012
0 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps



svg2scad by Spiritdude is licensed under the GNU - GPL license.

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

3728Views 1268Downloads


Converting Inkscape .svg files (paths only) into .scad files, useable for further processing using OpenSCAD.org

Version: 0.005


This is an early release of svg2scad command-line tool (perl script) and works with

  • Linux,
  • Windows (with Cygwin.com installed) and
  • MacOS-X.

Note: This is NOT a graphical user-interface program, but a command-line tool - but it's still very useful. If you want to export from Inkscape direct, see http://www.thingiverse.com/thing:25036

Unpack package after download:
% tar xzf svg2scad-0.005.tar.gz

and read README (a few perl modules to be installed, quite easy)


  • only Inkscape .svg files supported (for now)
  • convert all forms in Inkscape to paths (even circles)
  • SVG text converted to paths do not work well as .scad-files / OpenSCAD has some polygon restrictions (e.g. "T" renders, where as "O" does not, see sample image)

You can edit 2D path(s) with Inkscape in all tiny details and export it as polygon(s) as .scad and process it (linear_extrude, rotate_extrude etc) with OpenSCAD to do incredible forms.

I will release new versions at http://www.thingiverse.com/thing:28108 direct, and on https://github.com/Spiritdude/SVG2SCAD

-2012/08/12: 0.005: -openrot switch, to make first/last coord x-pos the same (rotate_extrude() requires that), see updated README
-2012/08/03: 0.003: discovering inconsistancy in path definition, hacking myself to support it
-2012/08/02: 0.002: extended with some functionality
-2012/08/01: 0.001: first rudimentary version

Q: I'm rather new to OpenSCAD, so I ask for some feedback from experienced OpenSCAD users how to convert multiple paths to a single .scad file, any suggestions? Right now multiple paths are "union() { }" enclosed as polygons, so they can't be individually referenced anymore.

All Apps

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App

I have an inkscape plugin that creates a module OnePartName####() from each path. Specifically this one is for extruding 2d shapes, so you pass the depth to it when you call it. That seems to work out pretty well.