Flatten Sheet-Metal Pattern
flatten_patternRead-onlyIdempotent
Use this when you need the unfolded flat pattern of a bent sheet-metal part. Return the unfolded 2D flat-pattern of a bent sheet-metal Shape as a Region (outer polyline + holes + bend lines + sketch plane). Any number of parallel bends; crossing bends need corner relief. Pass { file } or { code }; optional { feature_id } to pick a specific Shape.
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": "flatten_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| file | No | Hosted: `code`, `project:<slug>` (head), or a Studio `/p/<slug>?version=N` link (pinned); no local files. | |
| feature_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||