compile_scad
Compile OpenSCAD code or .scad files into STL 3D models. Supports BOSL2 library and configurable timeout.
Instructions
Compile OpenSCAD code into an STL file.
Takes OpenSCAD source code OR a path to a .scad file, compiles
it using the local OpenSCAD binary, and returns the path to the
generated STL. Supports Kiln's bundled BOSL2 library.
For surface() heightmap operations (photo emboss, lithophane),
increase timeout to 600+ seconds.
Args:
scad_code: Valid OpenSCAD source code (provide this OR scad_path).
scad_path: Path to a .scad file (provide this OR scad_code).
timeout: Maximum compilation time in seconds (default 300).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| scad_code | No | ||
| scad_path | No |