export_flat_pattern
Exports a sheet metal part's flat pattern to DXF or DWG for laser or punch fabrication, including contour, holes, cut-outs, and optional bend lines.
Instructions
Flat pattern of the active sheet metal part: flat size, thickness, bend count — and with a path, a DXF/DWG for the laser / punch (layers OUTER = contour, INNER = holes and cut-outs, IV_BEND* = bend lines; tangent lines, sketches etc. left out). Creates the flat pattern if the part has none.
Args: path: Output file (.dxf or .dwg). Empty: just report the flat size. format: DXF or DWG. bend_lines: Include the bend lines (on their own layers).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_flat_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| format | No | DXF | |
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| bend_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |