Repository navigation
Packvium 1.10.0
Pallets may overhang their deck, mailers may have gussets, a hull turns 24 ways, every
placement has an id, a request may name its currency, and three more objectives state a lower
bound. Some public structs and enums grew, so a struct literal or an exhaustive match needs an
edit (see Changed); units refuses keys it used to ignore.
Added
container.pallet_overhang_limitis honoured, where 1.9 refused it: a load may pass the
deck by the stated length at each end and width at each side. Positions are measured from
the corner of the overhang zone; only the deck bears weight, so a floor placement's
support_ratiois the share of its base on the deck; the packed pallet reports
achieved_dimensionsand is billed and handed up at the larger of its declared footprint and
that size. Besideaccess_directions,axles,made_to_measure,obstacles, a non-zero
void_fill_reserve_ratioor an item'sstop_indexit isunsupported_feature. New types
OverhangLimitandDeck.- Gusseted bags:
deformable_boundary.kind: "gusseted_bag"withside_gusset_depth
admitsb + c <= W + G;DeformableBoundary::GussetedBag { side_gusset_depth }. - 24 rotations for a
convex_hullitem: 18 signed codes such as-L-W+Hafter the six
legacy ones, accepted only on a hull (on a box,invalid_value).Rotation::EVERY,
is_signed,is_upright,from_codeandvocabulary. placement_idon every placement, the canonical JSON of
[container id, x, y, z, item_type, orientation]in ticks.fixed_placements[]and a
revision's locked or verified placement may quote it;validate_jsonreports
placement_id_mismatchandduplicate_placement_id.currencyon the request and onrate_table, three capital letters, echoed on the
result; a rate table without a request currency or in another one isinvalid_request, and
validate_jsonreportscurrency_mismatch. It never enters the score.- Lower bounds for
maximum_value,open_dimension_heightandmaximum_volume, so
optimality.lower_boundand the gap are stated under every objective but the two carrier
ones. pack_nested_with(&request, level_beam_width)carries thekbest chains from level to
level and lets the outermost level choose; a width of 1 ispack_nested.- A made-to-measure box may keep a
void_fill_reserve_ratio; when the box cut tight
would break it, the box is cut from the envelope it was packed in. - Revisions stock the boxes a plan already cut: a locked or verified placement in a
made-to-measure box becomes a stock container<type>@<revision>#<n>at its cut size, and
verify_revision_chain_jsonreportsartifact_requiredwithout the approved artifact.
Newrevisions::stock_cut_boxes_json.
Changed
- Source change for struct literals and exhaustive matches.
PackingRequest,RateTable
andPackingResultgainedcurrency: Option<String>;FixedPlacementgained
placement_id: Option<String>;Containergainedpallet_overhang_limitanddeck;
DeformableBoundarygainedGussetedBag;Rotationgained 18 variants. None is
#[non_exhaustive]: add the fields to a struct literal (or build aContainerwith
..Container::new(...)), and give amatchoverRotationorDeformableBoundarya
wildcard arm. Callers ofpack_jsonare unaffected. unitsrefuses every key butlength:invalid_request/not_allowedat
/units/<key>. A request that sentunits.weightmust write the unit on each weight.- Every container is numbered per type on the grid lattice and the block loader too:
pair#1,large#1where 1.9 could saypair#2orlarge#10. - A nested chain keeps a handed-up container upright, so a nested answer can change where
laying a carton on its side was the only way it fitted. - Artifact exports refuse an integer past
2^53 - 1withnumber_out_of_range, instead of
clamping a container index.
Fixed
- An explicit rotation list emptied by
keep_uprightis refused atallowed_rotations,
with the same named request error the independent validator checks. - Stocking cut boxes indexes artifact lookups once and reports malformed consumed
machine fields as structuredinvalid_revisionerrors. - Nested beams keep fixed placements across container offers and handoffs instead of
aborting when a different carried branch cannot supply a locked item or container. - The standalone crate test suite handles absent workspace-only nested scenes; its
dedicated nested and fixed-lock regression tests still run.