pyboxbuilder.lid.pattern.tessellating_leaf_path¶
- pyboxbuilder.lid.pattern.tessellating_leaf_path(section: float) list[tuple[float, float]][source]¶
Return the outline of a leaf that tiles the plane, tip towards +X.
Seven points, of which the useful fact is how their edges pair up. The two long edges to the tip are equal and opposite to the two from the base, so each is another leaf’s edge under translation; the base’s single long edge is matched by the two short notch edges of two different neighbours. That is what makes this leaf a tile rather than a leaf-shaped blob: it meets its neighbours edge to edge, with nothing left over between them.