openscad-3d-modeling
SKILL.md
OpenSCAD 3D Modeling
Overview
OpenSCAD is a programmer's solid 3D CAD modeller that uses scripts to generate 3D models. Unlike interactive 3D tools, OpenSCAD models are described declaratively in code, making them ideal for AI-driven generation. Models are built from primitives (cube, sphere, cylinder) combined with boolean operations (union, difference, intersection) and transformed (translate, rotate, scale).
Key Concepts
Constructive Solid Geometry (CSG): Combine simple shapes into complex models using boolean operations
union()- Combine multiple shapes into onedifference()- Subtract shapes from each otherintersection()- Keep only overlapping regions
Primitives: Basic building blocks
cube(size=[x,y,z])- Rectangular boxsphere(r=radius)- Spherecylinder(h=height, r=radius)- Cylinderpolyhedron(points, faces)- Arbitrary shape