RULE / GEOMETRY

Geometry in 3D packing

Every placement stays inside the usable volume, on exact integers. A container can also be a cut-to-measure box, a mailer or an overhung pallet.

EXPRESSED WITHinner_dimensions + clearance · made_to_measure · deformable_boundary · pallet_overhang_limit

Why it exists

Geometry bounds the search before anything more expensive is evaluated. Deciding it on integers removes the class of bugs where a placement is legal at one rounding and illegal at another. A made_to_measure container is a box machine: each box is the load's extent rounded up onto its cut grid, priced as cut and reported as achieved_dimensions. A flat_bag container admits a load when its length and its width, each plus its thickness, fit; a gusseted_bag adds its side_gusset_depth to the width. From 1.10.0 a pallet_overhang_limit lets a load pass the deck by a stated length at each end and width at each side: only the deck bears weight, a load the deck holds is never overhung, and the pallet is billed at the size it reached.

What a useful refusal looks like

The engine returns the rule that refused, the item it refused, and the measured value against the configured threshold. It also states how strongly that is backed: proven, observed, inferred, or unknown because a search limit was reached first.

See the fixtures for this rule