pyboxbuilder.packing.guillotine¶
Guillotine 3D box packer for densely-filled inserts (T187 / Auto-Layout v2).
Tracks disjoint free regions using exact 64-bit integer picometre arithmetic (eliminating floating-point subtraction drift on fractional splits like H/3), supports Corner, Full-Layer, and 1D Slab-Layer cuts (allowing independent Z bridges within individual rows or columns), supports pre-cut pinned obstacles, multi-choice Pareto box envelopes, and composite vertical stack chains, and uses a 2-stage root-budgeted search to escape heavy-tailed root dead ends in <12 ms.
Classes
A box (or composite vertical stack / multi-choice box) to place. |
|
Where one box ended up. |
Functions
Pack |
|
Cut pinned boxes |