Export OpenSCAD (.scad) files to STL format with geometry validation. Checks for non-manifold geometry, self-intersections, and other printability issues.
Convert OpenSCAD files to STL format for 3D printing with automatic geometry validation.
Use this skill after:
.claude/skills/export-stl/scripts/export-stl.sh <input.scad> [options]
--output <path> - Custom output path (default: <input>.stl)--binary - Export binary STL (smaller file, default)--ascii - Export ASCII STL (human-readable)During export, the script checks for common printability issues:
If issues are detected, the export still completes but warnings are shown with guidance on how to fix them.
After phone_stand_003.scad looks good in preview:
.claude/skills/export-stl/scripts/export-stl.sh phone_stand_003.scad
Output:
--- Geometry Validation ---
STATUS: PASSED - No geometry issues detected
- Mesh appears manifold (watertight)
- No self-intersections found
- Ready for slicing
/openscad → /preview-scad → /export-stl
↓
Geometry validation
↓
Ready for slicer
If validation reports problems:
union() to properly combine overlapping shapes$fn for curves