Analyze a design
analyze_designAnalyze a parametric OpenSCAD design by rendering its final geometry and reporting dimensions, bounding box, facet count, solidity, z=0 placement, and printer build-volume fit without writing files.
Instructions
OpenSCAD: renders the final geometry of a design and reports its size and bounding box in mm, facet count, whether the mesh is a closed solid, whether the part sits on z = 0, and whether it fits the build volume of each configured printer (also turned 90° around Z). Writes no file. params analyzes a variant without changing the design.
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": {
"name": "<name>"
},
"name": "analyze_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Design name, e.g. "broom-holder-28mm". Stored as lower-case letters, digits and dashes. | |
| params | No | Parameter overrides as name → value, e.g. {"pole_diameter": 32, "label": "A"}. Values are numbers, booleans, strings or lists of those. | |
| printer | No | Printer to check against: a configured or built-in profile id (e.g. "a1mini") or a build volume "WIDTHxDEPTHxHEIGHT" in mm. Default: every configured profile. |