411 REFERENCE · Wikibooks
OpenSCAD User Manual/Language Reference OBS2015.7.30
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The OpenSCAD Language Reference
The OpenSCAD Language
General - READ THIS FIRST
Values and Data Types
variables
vectors
vector initialization
3D Object Modules
3D Primitive Solids - cube, sphere, cylinder, polyhedron
3D to 2D Projection
Importing 3D Geometry
2D Object Modules
2D Primitives - square, circle, polygon
Text draw text objects using fonts.
2D to 3D - extrusions
Importing 2D Geometry
Transforms and Modification Operator Modules
color
rotate, translate, mirror, multmatrix
scale, resize
offset, minkowski, hull
Combining transformations
Syntactic Operators
Boolean Combinations
union, difference, intersection, render
Flow of Control Statements
Conditional and Iterator Functions - for, intersection_for, if, conditional ? :
assign, let
Expressions
Mathematical Operators
Mathematical Functions
Other
String Functions - str, chr, ord
Type Test Functions
Using Special Variable $t in Animation
Other Language Features - Special '$' variables, echo, render, surface, search , version(), version_num(), parent_module(n) and $parent_modules, assert
User-Defined Functions and Modules - Functions, Modules, Children
Debugging aids - % # ! * echo
External libraries and code files
include - SCAD, CSG
use - SCAD
import - STL, OFF, DXF
import_dxf - Deprecated
import_stl - Deprecated
export - STL, OFF, AMF, 3MF, DXF, SVG, PNG, CSG
surface - PNG