Skip to content

v2.0 Make

Revar Desmera edited this page May 16, 2017 · 1 revision

Generating STL Files

For all platforms, you will need to have OpenSCAD installed. You can download OpenSCAD from their website at http://www.openscad.org

OS X:

Under OS X, you'll need to make sure you have the Xcode command-line tools installed first. You can get them by installing Xcode from the App Store.

You shouldn't need to change the Makefile. It should already have $OPENSCAD defined as:

OPENSCAD=/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD

To generate the STL model files, open a terminal to the snappy-reprap directory and type:

make

The resulting STL files will be in the STLs directory.

Linux:

Under Linux, you will need to make sure you have at least OpenSCAD version 2015.03. You can find instructions for getting the latest Ubuntu packages at https://launchpad.net/~openscad/+archive/ubuntu/releases

You will need to edit the Makefile, and change $OPENSCAD to:

OPENSCAD=openscad

To generate the STL model files, open a shell to the snappy-reprap directory and type:

make

The resulting STL files will be in the STLs directory.

Windows:

Under Windows, you'll probably have to open and compile each _parts.scad file individually and manually export the STL files.

You might be able to run the makefile under CygWin, if you set $OPENSCAD to something like:

OPENSCAD="/Program Files/OpenSCAD/openscad.exe"

To generate the STL model files, open a Cygwin shell to the snappy-reprap directory and type:

make

The resulting STL files will be in the STLs directory.