Display Sheet (DS)
Visualizes sheet objects with color-coded face types (flanges, bends, hems, holes). Allows filtering by face type and side, and optionally displays text info on each face.
Inputs
| Name | Nick | Type | Access | Default | Description |
|---|
| Sheet | S | Sheet | tree | | Sheet object to analyze and display. |
| Color Mode | CM | Integer | item | 0 | Coloring mode for the sheet: - By Face Type: bend=blue, flange=gray, hem=cadetblue, hole=gold, thickness=red. - By Direction: up=green, down=red, non-bends=light gray. - By Bend Group: each bend group gets its own color. |
| Display Text Info | TI | Boolean | item | false | Toggle display of face type, ID and other details on each face. |
| Text Size | TS | Integer | item | | Size of the text displayed on each face. |
| Side | SD | Integer | item | | Which side of the sheet to display: All (-1), Side 0 (top), or Side 1 (bottom). |
| Face Types | FT | Integer | list | | Face types to include in the visualization (flanges, bends, hems, holes, and so on). |
Color Mode (CM) options:
0 = By Face Type
1 = By Direction
2 = By Bend Group
Side (SD) options:
-1 = All
0 = Side 0
1 = Side 1
Outputs
| Name | Nick | Type | Access | Default | Description |
|---|
| Sheet Faces | SF | Brep | tree | | The displayed faces as BREPs, in a tree branched by face type (after the Side and Face Types filters). |
Sheet Info (SI)
Summarizes a sheet: how many flanges, bends, hems, and holes it has, plus the detected material thickness. Also lists the id, angle, fold direction, and inner radius of every bend. Use it to check what was detected before unrolling.
Inputs
| Name | Nick | Type | Access | Default | Description |
|---|
| Sheet | S | Sheet | item | | Sheet to analyze. |
Outputs
| Name | Nick | Type | Access | Default | Description |
|---|
| Flanges | F | Number | item | | Number of flange faces. |
| Bends | B | Number | item | | Number of bends. |
| Hems | H | Number | item | | Number of hems. |
| I-Holes | IH | Number | item | | Number of isolated holes (fully inside a flange). |
| NI-Holes | NIH | Number | item | | Number of non-isolated holes (touching a flange edge). |
| C-Holes | CSH | Number | item | | Number of countersink holes. |
| Thickness | T | Number | item | | Detected material thickness, in document units. |
| ——— | ——— | Generic | item | | Separator. The outputs below are parallel per-bend lists. |
| Bend ID | ID | Text | list | | Per-bend id (e.g. B-1 for a bend, HB-1 for a hem bend). |
| Bend Angle | BA | Number | list | | Per-bend angle, in RADIANS. Unrolled Bend Info and the K-factor tables use degrees, so convert before wiring across. |
| Bend Direction | BD | Text | list | | Per-bend fold direction (Up or Down). |
| Bend Radius | BR | Number | list | | Per-bend local inner radius, in document units. |