pyboxbuilder.enums.PatternType¶
- class pyboxbuilder.enums.PatternType(*values)[source]¶
Bases:
EnumLid through-hole pattern (FR-023).
Every member here is a shape the library actually draws. It listed 47 and drew three: the tessellations and pentagon tilings wrapped an import of a package this repo does not contain, inside a bare except, and fell back to square holes — so a lid asking for LEAF got squares and nothing said so. A member is added when the geometry to draw it is (FR-000c).
-
AMMANN_BEENKER =
'ammann_beenker'¶ Eight-fold quasiperiodic Ammann–Beenker rhombus tessellation (de Bruijn multigrid).
-
CHECKER =
'checker'¶ Alternating checkerboard tiles on a square grid.
-
CHEVRON =
'chevron'¶ Interlocking 60°/120° herringbone chevron rhombus tessellation.
-
CIRCLE =
'circle'¶ Round holes on a square grid.
-
DENSE_HEX =
'dense_hex'¶ The honeycomb at a tighter pitch.
-
DENSE_TRIANGLE =
'dense_triangle'¶ The triangle grid at a tighter pitch.
-
DICE =
'dice'¶ Gaming dice (D6) faces with pips on a grid.
-
HEX =
'hex'¶ Hexagonal holes in staggered rows — a honeycomb.
-
LEAF =
'leaf'¶ Pointed-oval leaves, each with a midrib, interlocking in offset rows.
-
LEAF_TESSELLATION =
'leaf_tessellation'¶ Leaves that tile the lid edge to edge, leaving a net of their outlines.
-
LEAF_VEINS =
'leaf_veins'¶ That tessellation with a midrib and branching veins left in each leaf.
-
NONE =
'none'¶ No pattern — a solid lid.
-
OCTAGON =
'octagon'¶ Octagonal holes, leaving small square webs between them.
-
PENROSE =
'penrose'¶ Ten-fold quasiperiodic Penrose rhombus tessellation (de Bruijn multigrid).
-
RING =
'ring'¶ Circular rings / washers with an inner hole.
-
SOLID =
'solid'¶ Explicitly solid lid surface — no through-holes or inlays.
-
SQUARE =
'square'¶ Square holes on a square grid.
-
STEPPED_CUBE =
'stepped_cube'¶ Stepped 3D cube and diamond rhombic tessellation (4-color isometric cube & peak diamond tiling).
-
TRIANGLE =
'triangle'¶ Triangular holes, alternating point-up and point-down.
-
TUMBLING_BLOCKS =
'tumbling_blocks'¶ Classic 3-rhombus isometric cube tessellation (tumbling blocks).
-
VORONOI =
'voronoi'¶ Round holes of varying size on a jittered grid — an organic scatter.
-
AMMANN_BEENKER =