export_dxf
Export a 2D DXF outline for laser or waterjet cutting from a planar face or cross-section plane, with LINE/CIRCLE entities in millimeters.
Instructions
Export a 2D DXF outline for laser/waterjet cutting. Either face (one planar face, by index or selector; its boundary
and holes in the face's own 2D coordinates) or plane + offset (cross-section of the object by the plane x=, y= or z=offset).
Lines and full circles are written as LINE/CIRCLE entities in mm. Saved under workspace/exports//.
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": {
"doc": "<doc>",
"name": "<name>"
},
"name": "export_dxf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| face | No | ||
| name | Yes | ||
| plane | No | ||
| offset | No | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |