[OpenSCAD] Export via command line

ROMIT KUMAR romitkumar1705 at gmail.com
Mon Jul 1 14:38:36 EDT 2019


Either of the following can be used:

1. openscad -o foo.stl bar.scad
This will export scad file(bar.scad) to stl file(foo.stl)

2. openscad --export-format stl bar.scad
This will export scad file(bar.scad) to stl file(bar.stl)

On Mon, Jul 1, 2019 at 11:45 PM Brenden Lipp <brenden.lipp at stonybrook.edu>
wrote:

> I am trying to write python code that will export a .scad file as a .stl
> file. What is the syntax for doing this through command line? Thank you.
>
> Brenden Lipp
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190702/ce8b0676/attachment.html>


More information about the Discuss mailing list