Skip to main content

Module flat_pattern

Module flat_pattern 

Source
Expand description

FlatPattern: a sheet-metal body unfolded into the flat blank it is cut from.

Structs§

BendLine
One bend of a flat pattern: the line down its middle, its ends in space on the flat pattern’s A side, and how it is bent.
FlatPattern
Unfolds the sheet-metal body named solid into its flat pattern, for the operation P: every bend laid flat as a strip as wide as its developed length (angle * (radius + k_factor * thickness), see crate::SheetMetalRules), every flat face moved with it, the body’s first face where it was. The flat body is the solid flat_pattern(P), and each of its entities is named after the one it is the unfolded copy of, flat_pattern(P,X) for X — so a bend’s faces are flat_pattern(P,X,a) for its faces X,a, and the lines it is bent along the edges between it and its flat faces. The body is replaced by its flat pattern unless keep.
FlatPatternArgs
FlatPatternData
What a flat pattern records of its body, for drawings and cutting: the sheet’s thickness, the bends, and the pattern laid out for cutting (see cutting_sheet).

Type Aliases§

SolidRef
A solid of the part, by name.