Inkscape to OpenSCAD converter (Q91615)
Jump to navigation
Jump to search
No description defined
Language | Label | Description | Also known as |
---|---|---|---|
English |
Inkscape to OpenSCAD converter
|
No description defined
|
Statements
thingiverse.com
0 references
https://spdx.org/licenses/GPL-3.0-or-later
0 references
auto
0 references
1.0.0
0 references
dnewman
0 references
www.thingiverse.com
0 references
en
0 references
UPDATED - paths2openscad-3.zip UPDATED - paths2openscad-2.zip See Thing 25036 for version 2 and 3 http://www.thingiverse.com/thing:25036 This Thing is an Inkscape extension to export Inkscape paths to OpenSCAD. There has been at least one prior Thing attempting this, Thing #9376. However, it only handled a small subset of SVG. This extension handles SVG arcs, clones, circles, ellipses, groups, lines, paths, polygons, polylines, rects, and splines. It also follows document transforms as well as viewports. Either an entire document or just the selected portions of a document are processed. SVG text must first be converted to a path within Inkscape using Inkscape's "Path > Object to Path" menu item. Note that another approach to importing SVG into OpenSCAD is to save the SVG to DXF from within Inkscape. Then use OpenSCAD's import() function to import the DXF. [Older versions of OpenSCAD used import_dxf().] Much of the core code in this extension is derived from work done by myself and others while developing the Inkscape driver for the Eggbot. 9 May 2013: Modified the code to remove non alphanumeric characters from the names of the generated OpenSCAD modules. 15 June 2012: Added support for a single level of polygon nesting. I.e., subtract from a polygon, the polygons contained within it AND from the same Inkscape path. This works well for most fonts. You can tell Inkscape to combine multiple polygons into a single path by selecting the polygons and then using "Path > Combine". (You do not need to do this for text converted to a path: Inkscape already does the proper combining.) 15 June 2012: Corrected Windows issue with handling of Unix-style file paths.
0 references