export_layout
Export valid 2D nesting layouts to per-sheet SVG, DXF, or LBRN2, keeping arcs and splines as curves and rejecting invalid layouts.
Instructions
Write per-sheet SVG/DXF or preserving LBRN2 for a valid layout, transforming the original curves (arcs and splines stay curves). Refuses invalid layouts.
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": {
"library_path": "<library_path>",
"request": "<request>",
"layout_path": "<layout_path>",
"out_dir": "<out_dir>"
},
"name": "export_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Optional svg, dxf or lbrn2; omit to use the source format default. | |
| out_dir | Yes | New output directory; preserving .lbrn2 for LightBurn, SVG/DXF otherwise. | |
| request | Yes | ||
| layout_path | Yes | ||
| library_path | Yes | ||
| sheet_outline | No | Draw sheet boundaries (default true for LightBurn, false for SVG/DXF). |