Skip to main content

Module layout

Module layout 

Source
Expand description

The sheet laid out flat — Layout — and cut.

Every face of a sheet, flat or bent, is a region of one plane in the flat pattern’s coordinates: the first flat’s sheet coordinates, every other flat moved by its shift (see Sheet::flat_shifts), every bend the strip between its two lines, as wide as its developed length. The regions share the edges and vertices between them. A cut is subtracted there (Layout::subtract), where a bend is no different from a flat and every curve still a line or an arc, and then each face is folded back into its own place (see Sheet::folded). So a hole across a bend is cut where it lies unrolled, and the flat pattern of a cut body is exact: unfolding moves its curves, never approximates them.

Structs§

CutCurve
A curve of a cut’s loop, in the flat pattern’s coordinates, and its name.
Layout
A sheet laid out flat (see the module docs). Edges and vertices a cut took away stay in the lists, used by no face.
LayoutEdge
An edge of the layout, from vertex start to vertex end.
LayoutFace
A face of the layout: its loops, the outer one counter-clockwise and holes clockwise, each a list of edges and the sense it runs them in.
LayoutVertex
A vertex of the layout.

Enums§

Home
Which face of the sheet an entity is folded with: a flat’s, or a bend’s.
Seg
A curve of the layout, as far as cutting is concerned: a line, an arc of less than half a turn, or something else, which a cut may not cross.