sheet_metal_edge_flange
Bends up a wall along linear sheet metal edges to add an edge flange, with height or to-entity and width options.
Instructions
Edge flange: bend up a wall from linear edges of a sheet metal body.
Exactly one of height and to_entity. Refs: edges from inspect_query on the latest
body (refs change after every flange - take them from the results again). Bend along
a sketch line is not available in the Fusion API: an edge flange is the way to add a
bend.
Uses the preview Fusion API: when it is missing the tool fails with FUSION_API_ERROR reason=api_unavailable (nothing changed) - check sheet_metal_capabilities first.
Errors: both / neither of height and to_entity, to_entity with several edges, an edge of a non-sheet-metal body or of several bodies, a non-linear edge -> INVALID_PARAMS; a failing flange is rolled back.
Returns {"feature", "health", "created_bodies", "modified_bodies": [{ref, type, name, is_sheet_metal}], "removed_bodies", "rule"}.
Example: sheet_metal_edge_flange(edges=[""], height=20)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Flip the flange direction | |
| angle | No | Flange angle, degrees (default 90) | |
| edges | Yes | Linear outer edges of one sheet metal body | |
| units | No | Unit of plain-number lengths (default mm) | mm |
| width | No | Width, the same for all edges: {"type": "full"} (default), {"type": "symmetric", "width"}, {"type": "two_sided", "width1", "width2"}, {"type": "two_offsets", "offset1", "offset2"} | |
| height | No | Flange height (or give to_entity) | |
| to_entity | No | Face / plane / vertex the flange reaches (single edge only) | |
| to_offset | No | Offset from to_entity | |
| bend_radius | No | Bend radius override (default: the rule's) | |
| height_datum | No | Height measured from inner, outer (default), tangent | outer |
| bend_position | No | start_edge (default), inside, outside or tangent_to_side | start_edge |
| mitered_corners | No | Miter adjacent flanges |