Paths to OpenSCADfablabchemnitz.de.paths2openscad
{NAME}.scad
Use '{NAME}.scad' here to use the name from svg.
5.0
Default 3D extrude depth (when no zsize is parsed from an svg object).
true
Read the extruded zsize, zoffset, scale per svg object from its description or ID. See the Extrusion Syntax tab for details.
false
Start OpenSCAD to view the 3D-model.
false
Also save an .stl file next to the specified output file.
false
Start e.g. a slicer after converting to STL. See the Commands tab for details.
false
0.2
Used when rendering curves. Smaller values are smoother. Range: 0.0001 to 5
0
Outline Mode
Objects are extruded into 3D either in normal mode, or in outline mode. Normally filled areas are extruded, ignoring the line width. Objects with no fill are rendered in outline mode.
Note: the 'Scale: XX %' instruction has no effect in outline mode.
1.0
100.0
false
Placeholders: You can use '{NAME}.scad' for the OpenSCAD file to read as specified as 'Output file' in the main tab. You can use '{NAME}.stl' for an STL file to write.
Beware, Windows and Mac users: The shipped defaults are for Linux.
Mac: /Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD
openscad '{NAME}.scad'
Is only started, if no command of the same name is running. Always started non-blocking. A running OpenSCAD automatically picks up changed file contents. Defaults:
Linux: openscad '{NAME}.scad'
openscad '{NAME}.scad' -o '{NAME}.stl'
Automatically run, when STL postprocessing is requested.
cura '{NAME}.stl' &
Append an '&' for non-blocking.
The depth (Z-Axis) and other parameters can be defined through an svg object's description. The menu 'Object->Object Properties ...' (Shift-Ctrl-O) shows details of one selected object.
If an object's ID is in either name_XXX_mm or name_XXXmm
format, then XXX is translated into zsize in millimeters.
Use . or _ as separator for a decimal number.
Note that all whitespace or comma are saved as '_' in ID.
Syntax for the object property description
Depth: 10 mm
Linear extrusion length (or Z-Size)) of the object.
Antimatter: true
Object is part of the difference set, which is
cut away from all other objects.
Offset: 4.5 mm
Move an object upwards to create a balcony (or window).
Taper: 90 % or Taper: 120,60 %
Scale the object along its Z-axis. The bottom surface always
is as drawn, but the top surface is scaled to this value.
If two values are given (separated by Komma), different
scaling applies along X- and Y-axis.
Parameters in the objects take precedence over groups.
This extension converts Inkscape paths to
extruded polygons in OpenSCAD. Before
using, some objects must firat be converted to paths
with the "Path > Object to Path" menu item.
Inkscape's units of pixels are converted
to millimeters using the SVG standard's
definition of 96 px = 1 inch = 25.4 mm.
(Before inkscape 0.92 the standard was 90 px per inch,
Adobe products often use 75 px per inch)
v0.25
Dan Newman (dan newman @ mtbaldy us)
Josef Skladanka (jskladan @ redhat com)
Juergen Weigert (juergen @ fabmail org)
Find updates at https://github.com/fablabnbg/inkscape-paths2openscad/releases
all