pyboxbuilder.compartments.layout¶
Compartment auto-layout — 2D shelf + obstacle-aware MaxRects bin packing.
Classes
Result of laying out compartments inside a box interior. |
|
Position of a single compartment inside a box. |
Functions
Generate Pareto-non-dominated outer |
|
Center and evenly distribute placed compartments across unused interior slack. |
|
Return the smallest compact box that holds these compartments. |
|
2D layout of compartments inside the box interior with obstacle and rotation support. |
|
Pad every compartment tuple out to the full seven fields. |
|
Partition compartments across multiple bin interior footprints with symmetry-broken 2D packing. |