OpenSCAD
Free software for creating 3D objects

OpenSCAD is a free software application for creating solid 3D computer-aided design (CAD) objects. It is a script-only based modeller that uses its own description language; the 3D preview can be manipulated interactively, but cannot be interactively modified in 3D. Instead, an OpenSCAD script specifies geometric primitives (such as spheres, boxes, cylinders, etc.) and defines how they are modified and combined (for instance by intersection, difference, envelope combination, or Minkowski sums) to render a 3D model. As such, the program performs constructive solid geometry (CSG). OpenSCAD is available for Windows, Linux, and macOS.
01Overview
Scripting language
OpenSCAD uses a custom scripting language to produce 3D graphics. The scripting language supports functional programming, parametrized modularization and reuse, and mathematical computation. Variables are scoped, but within each scope are immutable.
Previewing
For fast previewing of models using z-buffering, OpenSCAD employs OpenCSG and OpenGL.
The 3D model position can be interactively manipulated in the view with a mouse similarly to other 3D modellers. It is also possible to define a default "camera" position in the script.
Part colors can be defined in the 3D view (including transparency).
Preview is relatively fast and allows interactive modifications while modifying the script.
The model renderer takes into account lighting, but the lighting source is not modifiable.

02Use
OpenSCAD allows a designer to create accurate 3D models and parametric designs that can be easily adjusted by changing the parameters.
OpenSCAD documents are human-readable scripts in plain ASCII text and potentially syntactically better suited to integrate with version control systems such as git.
As such, OpenSCAD is a programmer-oriented solid-modeling tool and has been recommended as an entry-level CAD tool for designing open-source hardware such as scientific tools for research and education.
It is often used to design 3D printed parts, which can be exported in various 3D file formats. Its script-based parametric nature allows it to be integrated into online model customization services, such as the "Customizer" tool on Thingiverse.
Animation is possible with a speed of a few images per seconds for simple models. The animation can have effect on any parameter, being it the camera position or the parts dimensions, position, shape or existence. It can be recorded as a set of images usable to build animated GIFs.
An experimental coupling with Calculix for FEM (Finite Element Method) is available. FreeCAD can import OpenSCAD files also for FEM with Calculix or other supported FEM solvers. FreeCAD features a workbench for interoperability with OpenSCAD.
Tools also exist to generate OpenSCAD code from higher-level inputs; for example, CADAM is an open-source text-to-CAD web application that converts natural-language prompts into parametric OpenSCAD scripts.
03File formats
Imports
- 2D drawings in DXF, SVG and PNG can be imported, then extruded as monolithic parts.
- 3D parts can be imported in STL, OFF, AMF and 3MF and can be scaled and submitted to subtractive or additive operations.
Exports
OpenSCAD views and models can be exported to many different formats. Including:
04Design
OpenSCAD is a wrapper to a CSG engine with a graphical user interface and integrated editor, developed in C++. As of 2024, the general release version uses the Computational Geometry Algorithms Library (CGAL) as its basic CSG engine. However, development snapshot versions also offer support for Manifold as an alternative.
Its script syntax reflects a functional programming philosophy. Much as in Haskell, within a scope each "variable" is treated as a constant, immutable with at most one value.
05Platform implementations
Sources and credits
This article is adapted from the Wikipedia article “OpenSCAD”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- Openscad.svg by Eexpss, CC BY-SA 4.0
- Strandbeest 3d - crank offset corrected.gif by MichaelFrey, CC BY-SA 3.0
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.