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

Inkscape to Openscad Export extension

by Simarilius, published

Inkscape to Openscad Export extension by Simarilius Jun 16, 2011

Description

inx and python extension to convert selected path to Openscad format.

Recent Comments

view all

For Inkscape noobs (like me):

The extensions folder is
&
lt;program path
&
gt;/share/extensions

Shape to path conversion is via menu Path
&
gt; Object to Path. However, the points do not seem to always be in the correct order to render properly.

In fact the path points are often in the wrong order unless I draw the path using the "Draw bezier curves and straight lines" tool in "Create a sequence of straight lines" mode.

It also adds "linear_extrude(None)" to the exported SCAD file. which my version of OpenSCAD cannot parse.

Apart from a
ll this, it's great ;)

Liked By

view all

License

GNU - GPL
Inkscape to Openscad Export extension by Simarilius is licensed under the GNU - GPL license.

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

Instructions

put both files in your inkscape extension file.
Open inkscape, select a path, then go extensions>export>open scad
a dialog should pop up with the openscad code to c/p to openscad.

Notes:
1) Only works on paths, so convert to shapes to paths.
2) exports as straight segments, use the add nodes extension first to increase node count to simulate curves.
3) Its very much a WIP, too busy right now to do much with it, but feel free to hack

Comments

You must be logged in to post a comment.

Rupert on Sep 30, 2011 said:

For Inkscape noobs (like me):

The extensions folder is
&
lt;program path
&
gt;/share/extensions

Shape to path conversion is via menu Path
&
gt; Object to Path. However, the points do not seem to always be in the correct order to render properly.

In fact the path points are often in the wrong order unless I draw the path using the "Draw bezier curves and straight lines" tool in "Create a sequence of straight lines" mode.

It also adds "linear_extrude(None)" to the exported SCAD file. which my version of OpenSCAD cannot parse.

Apart from a
ll this, it's great ;)

Top