Export Model
export_modelExport OpenSCAD projects to STL, 3MF, OFF, AMF, DXF, or SVG by specifying a project ID and output format, enabling 3D printing and 2D drafting.
Instructions
Export STL, 3MF, OFF, AMF, DXF or SVG with fixed CLI arguments.
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": "export_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| output_format | No | stl |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| errors | No | ||
| success | No | ||
| warnings | No | ||
| artifacts | No | ||
| project_id | No | ||
| duration_ms | No |