Render Preview
render_previewGenerates a verified PNG preview of an OpenSCAD project from standard views or a custom camera, enabling visual validation of 3D designs.
Instructions
Render a verified PNG for a named view or a numeric 6/7-value custom camera.
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": {
"project_id": "<project_id>"
},
"name": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | isometric | |
| width | No | ||
| camera | No | ||
| height | No | ||
| version | No | ||
| project_id | Yes | ||
| projection | No | orthographic | |
| colorscheme | No | Cornfield | |
| render_mode | No | preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| errors | No | ||
| success | No | ||
| warnings | No | ||
| artifacts | No | ||
| project_id | No | ||
| duration_ms | No |