discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Export via command line

BL
Brenden Lipp
Mon, Jul 1, 2019 6:14 PM

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

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
NH
nop head
Mon, Jul 1, 2019 6:36 PM

openscad - o fred.stl fred.scad

On Mon, 1 Jul 2019 at 19:15, Brenden Lipp brenden.lipp@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@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

openscad - o fred.stl fred.scad On Mon, 1 Jul 2019 at 19:15, Brenden Lipp <brenden.lipp@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@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
RK
ROMIT KUMAR
Mon, Jul 1, 2019 6:38 PM

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@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@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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@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@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >