OpenSCAD examples
Runnable OpenSCAD examples covering primitives, boolean operations, loops, reusable modules, parametric shapes, and practical 3D models. Edit and compile every example in the browser.
Build a scene from OpenSCAD's core cube, sphere, and cylinder primitives.
Compare OpenSCAD union, difference, and intersection operations in one model.
Create a hollow OpenSCAD coffee mug with difference, hull, and translated cylinders.
Make a rounded OpenSCAD enclosure by applying minkowski to a box and sphere.
Generate an adjustable star polygon and extrude it into a 3D OpenSCAD part.
Open in OpenSCAD playgroundBuild a practical parametric phone stand with angled supports and a retaining lip.
Open in OpenSCAD playground