


(The rendering process will still take place if the -render option is given.) -export-format If outputfile is null, no output file will be written, but the file will still be evaluated and all echo commands will be written to the standard error output. Known extensions: stl, off, amf, 3mf, csg, dxf, svg, png, echo, ast, term, nef3, nefdbg.Īdditional formats, which are mainly used for debugging and testing (but can also be used in automation), are AST (the input file as parsed and serialized again), CSG (an OpenSCAD language representation of the input file with calculations done and module calls applied), TERM (the constructive solid geometry expression passed to OpenCSG). If this option is given, the GUI will not be started. Options -o outputfileĮxport the given file to outputfile in STL, OFF, AMF, 3MF, DXF, SVG, or PNG format, depending on file extension of outputfile.
#Convert stl to openscad manual#
For the usage of the GUI and a description of the OpenSCAD language see the OpenSCAD user manual at. OpenSCAD will start as a graphical program unless export options are given (see below). It focuses on CAD aspects rather than artistic ones. Openscad is a software for creating solid 3D CAD objects. This manual page documents briefly the openscad command. Render a file to PNG in a specific colorscheme: openscad -o path/to/button.png -colorscheme Sunset path/to/button.scad.Convert a file to STL: openscad -o path/to/button.stl path/to/button.scad.Open a file: openscad path/to/button.scad.Script file based graphical CAD environment Examples (TL DR)
