pyboxbuilder.compartments.hex_grid.build_hex_grid¶
- pyboxbuilder.compartments.hex_grid.build_hex_grid(spec: HexGridSpec) Bosl2Solid[source]¶
Build the hexagonal cutout solid for a hex-grid compartment.
- Parameters:¶
- spec: HexGridSpec¶
The hex grid specification.
- Returns:¶
A Bosl2Solid of all hex cell cutouts (positive geometry to subtract from the box floor), or None if pybosl2 is unavailable.