scad_cross_section
Slice a 3D model with a thin slab to render the cut section. Verify internal geometry such as clearances, hollows, and joints before printing.
Instructions
Slice the model with a thin slab and render the cut. The only reliable way to verify internal geometry (clearances, hollows, joints).
percent: 0-100 along the chosen axis (mapped onto the model's actual bounds). slab_thickness in model units. Compiles the code to STL first, so expect CGAL render time on heavy models.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "scad_cross_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | z | |
| code | Yes | ||
| size | No | ||
| view | No | iso | |
| percent | No | ||
| slab_thickness | No |