pyboxbuilder.layout.Group¶ class pyboxbuilder.layout.Group(axis: int, children: tuple[Group | PolygonGrid | str, ...], gap: float = 0.0)[source]¶ Bases: object A run of boxes or sub-groups laid end to end along one axis. labels() → list[str][source]¶ Every box label in this subtree, in layout order. gap : float = 0.0¶ Clearance inserted between adjacent children, in mm.