pyboxbuilder.compartments.layout.candidate_box_sizes¶
-
pyboxbuilder.compartments.layout.candidate_box_sizes(compartments: list[tuple[str, float, float, float]], wall_thickness: float =
2.0, floor_thickness: float =1.6, lid_thickness: float =2.0, max_w: float | None =None, max_l: float | None =None, *, no_rotate_labels: set[str] | None =None, outer_sizer: Callable[[float, float, float], tuple[float, float, float]] | None =None) list[tuple[float, float, float]][source]¶ Generate Pareto-non-dominated outer
(W, L, H)envelopes forcompartments.Sweeps distinct row-wrap width targets (1-column, near-square, 2-row, 1-row) so an unsized multi-compartment box offers compact and elongated variants to the 3D game-box packer rather than only a single greedy full-width strip.