Repository navigation
Packvium 1.6.0
Boxes cut to measure, flat bags, stacking groups and a volume-first objective. A request that
uses none of them keeps its meaning; fast and balanced may now answer better.
Added
packvium.MadeToMeasureandContainer(made_to_measure=...). A container becomes an
on-demand box machine (largest box,minimum,increment, board price and weight per m²);
each packed box is the load's extent rounded up onto the machine grid and priced as cut.
PackedContainer.achieved_dimensionsreports the extent.- Flat bags:
Container(deformable_boundary="flat_bag"). A poly mailer admits a load when
length plus thickness and width plus thickness fit; dimensional weight is billed from the
load's size. - Stacking groups:
Item(stacking_group=..., accepts_stacking_groups=...). Which item
classes may rest directly on which. objective="maximum_volume", which ranks the volume left behind ahead of the piece count.- A warning for items resting on nothing when
minimum_support_ratiois 0
(unsupported_placements: N ...inresult.warnings). No answer changes.
Changed
- An unpacked item names the limit that left it out, the same in every engine.
Where the search used to fall back tono_feasible_placementorsearch_exhausted, an item a
fresh container would take but none is left reportscontainer_inventory_exhausted, and one
that overloads an axle wherever it stands alone reportsaxle_overloaded; both are
inferred. Code that matched the old reason for these cases must match the new one. qualityorders its beam by aconvex_hullitem's own solid, not its box, so
it no longer assumes a second wedge cannot fit when it can.- The container plan counts a
convex_hullitem by its own solid too, so
qualityno longer ranks a plan as if wedges that share a container each needed their own. fastandbalancedadd the block solver as one more start on multi-type loads and keep
its answer only when strictly better.
Fixed
quality's beam refinement searches wide again after a late-type ordering wins; it ran
greedily since 0.1.0.- The exact solver ranks volume first under
maximum_volume.