pyboxbuilder.lid.tilings.tumbling_blocks_tiling

pyboxbuilder.lid.tilings.tumbling_blocks_tiling(width: float, length: float, edge: float) → list[tuple[list[tuple[float, float]], int]][source]

Tile an area with the classic 3-rhombus isometric cube tessellation (tumbling blocks).

Each pointy-top regular hexagon of side edge is subdivided into three 60°/120° rhombi meeting at the hexagon centre:

  • 0: Top horizontal diamond face.

  • 1: Left vertical rhombus face.

  • 2: Right vertical rhombus face.