Flat Pattern
set_flat_patternFlatten a sheet-metal part to its cut blank or fold it back, returning bounding box dimensions to verify size and bend allowance before DXF export.
Instructions
Flatten a sheet-metal part to its blank, or fold it back, and measure it.
Flattened, bounding_box_mm is the blank to cut: check it against the
part's size and the bend allowance before export_flat_pattern writes the
DXF. Fold it back before adding more features. Needs: a sheet-metal part.
Changes: unsuppresses (flat) or suppresses (folded) the Flat-Pattern
feature. Returns: flat, feature and bounding_box_mm.
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": "set_flat_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | `flat` is true (flatten); false folds the part back. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||