sheet_metal_create_flat_pattern
Create a flat pattern from a stationary face of a sheet metal body, returning its size, thickness, and bend list for manufacturing or documentation.
Instructions
Create the flat pattern of the component of a sheet metal body (one per component) and return its size, thickness and bends. The design workspace is active again afterwards.
Errors: a face of a non-sheet-metal body, an existing flat pattern without replace=true -> INVALID_PARAMS (the existing one is kept). replace=true is atomic: if the new flat pattern fails, the old one is recreated from its remembered stationary face. A flat pattern not made by this tool (or whose face changed) cannot be restored, so replace refuses it (INVALID_PARAMS reason=not_restorable, nothing changed) - delete it with sheet_metal_delete_flat_pattern first.
Returns {"component", "exists": true, "size_mm": [x, y], "thickness_mm", "bend_count", "bends": [{"angle_deg", "is_up"}], "replaced"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | Delete the component's existing flat pattern first | |
| stationary_face | Yes | Face of the sheet metal body that lies flat (e.g. the top) |