pyboxbuilder.lid.tilings¶
Tile geometry for the lid patterns that tessellate (FR-023).
This module answers one question — what shapes cover this area, and where —
and answers it in plain coordinates. It builds no solids and knows nothing about
lids, webs or thickness; pyboxbuilder.lid.pattern takes the polygons from
here and cuts them.
That split is what makes the tilings checkable. “It tiles” is a statement about polygons, and it is testable as arithmetic: the tiles’ areas sum to the area they cover, and no two of them overlap. A tiling that is only ever seen as a rendered lid can be wrong in ways nobody notices until it prints.
Classes
One tile: its vertices, anticlockwise, in the tiling's own frame. |
Functions
Tile an area with interlocking 60°/120° chevron / herringbone rhombi. |
|
Return |
|
Tile an area with rhombi, by de Bruijn's multigrid method. |
|
Return a polygon's area by the shoelace formula. |
|
Tile an area with the 4-part stepped 3D cube & diamond rhombic tessellation. |
|
Tile an area with the classic 3-rhombus isometric cube tessellation (tumbling blocks). |