tweak_and_compile_scad
Update a parameter in OpenSCAD code and recompile to STL, validating material limits in one step.
Instructions
Update a parameter in OpenSCAD code and recompile to STL.
The complete parametric tweaking workflow: changes a dimension
variable, validates against material limits, and compiles a new
STL — all in one step. Perfect for "make it 5mm wider" requests.
Args:
scad_code: OpenSCAD source code.
parameter_name: Variable name to update (e.g. "wall_thickness").
new_value: New numeric value.
material: Optional material for limit validation (e.g. "pla").INLINE 3D STAGE: on success this tool also opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | ||
| new_value | Yes | ||
| scad_code | Yes | ||
| parameter_name | Yes |