generate
Render a parametric OpenSCAD model into an STL file with optional PNG preview, applying presets or per-call parameter overrides and returning artifact filename plus STL metrics.
Instructions
Render STL and optionally PNG preview in artifacts dir. Preset defaults apply unless preset is given; per-call params override the preset. Unknown presets or params are rejected. Unknown licenses require allow_unknown_license=True. Returns artifact filename and STL metrics.
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": {
"model_id": "<model_id>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| preset | No | ||
| preview | No | ||
| model_id | Yes | ||
| allow_unknown_license | No |