pyboxbuilder.compartments.hex_grid¶
Hex-grid compartment layout — hexagonal tile cutouts with push block and finger hole.
Ports the HexGridWithCutouts behaviour from the original toolkit. Layout math is pure Python; geometry generation delegates to pybosl2.
Classes
Position of a single hex cell within a grid. |
|
Configuration for a hex-grid compartment (FR-040). |
Functions
Build the hexagonal cutout solid for a hex-grid compartment. |
|
Compute the (x, y) center of every hex cell in a rows×cols grid. |
|
Compute the bounding (width, length) of a hex grid. |