OpenSCAD User Manual
Unlike most free software for creating 3D models (such as the well-known application Blender), OpenSCAD does not focus on the artistic aspects of 3D modelling, but instead focuses on the CAD aspects. So it might be the application you are looking for when you are planning to create 3D models of machine parts, but probably is not what you are looking for when you are more interested in creating computer-animated movies or organic life-like models.
OpenSCAD, unlike many CAD products, is not an interactive modeler. Instead it is something like a 2D/3D-compiler that reads in a program file that describes the object and renders the model from this file. This gives you (the designer) full control over the modelling process. This enables you to easily change any step in the modelling process. This enables you to make designs that are defined by configurable parameters.
OpenSCAD has two main operating modes, Preview and Render. Preview is relatively fast using 3D graphics and the computer's GPU, but is an approximation of the model and can produce artifacts; Preview uses OpenCSG and OpenGL. Render generates exact geometry and a fully tessellated mesh, it is not an approximation and as such it is often a lengthy process, taking minutes or hours for larger designs; Render uses CGAL as its geometry engine.
OpenSCAD provides two types of 3D modelling:
- Constructive Solid Geometry (CSG)
- extrusion of 2D primitives into 3D space.
Autocad DXF files are used as the data exchange format for 2D outlines. In addition to 2D paths for extrusion it is also possible to read design parameters from DXF files. Besides DXF files OpenSCAD can read and create 3D models in the STL and OFF file formats.
People who don't want to (or can't) install new software on their computer may be able to use OpenJSCAD ( http://OpenJSCAD.org/ ), a port of OpenSCAD that runs in a web browser, if your browser supports WebGL.
For Teachers: A basic 25 slide presentation is made freely available under GNUFDL to walk your students through the process of using OpenSCAD here.
Fablab Lannion (France) edited a nice (french speaking) interactive tutorial that you might appreciate.
The OpenSCAD User Manual
- First Steps
- The OpenSCAD User Interface
- Export - STL, OFF, AMF, DXF, SVG, CSG, PNG
- Commented Example Projects
- Using an external Editor with OpenSCAD
- Integration with other applications
- Using OpenSCAD in a command line environment
- Building OpenSCAD from Sources
- Frequently Asked Questions
- Tips and Tricks
- Command Glossary - Very short name and syntax reference
The OpenSCAD Language Reference
- The OpenSCAD Language
- 3D objects -
- 2D Objects
- Boolean combination
- Other Functions and Operators
- Conditional and Iterator Functions - for, intersection_for, if, conditional ? :, assign
- Mathematical Operators - General, Vectors, Matrix multiplication
- Mathematical Functions
- String Functions - str, chr
- List Comprehensions
- Other Language Features - Special '$' variables, echo, render, surface, search , version(), version_num(), parent_module(n) and $parent_modules, assert
- User-Defined Functions and Modules
- Debugging aids - % # ! * echo
- External libraries and code files
Work in progress
This section contains documentation about ongoing work which is available as experimental features in snapshot versions of OpenSCAD or not yet integrated at all and pending in a branch or pull-request at the OpenSCAD github repository.