Repository navigation
Packvium 1.10.0
Overhanging pallets, gusseted bags, 24 rotations for a hull, a declared currency, an id on every
placement, a nested packer that compares carton sets, and bounds under three more objectives.
One stricter refusal: a units key other than length (see Changed).
Added
container.pallet_overhang_limit(Packvium\Domain\OverhangLimit): 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, and the packed pallet reports
achieved_dimensions, at which it is billed and handed up. Refused besideaccess_directions,
axles,made_to_measure,obstacles, a non-zerovoid_fill_reserve_ratioor a
stop_index.- Gusseted bags:
deformable_boundary.kind: "gusseted_bag"withside_gusset_depth;
Container::create()and the constructor take a trailing?Length $sideGussetDepth. - 18 signed rotations for a
convex_hullitem (Rotation::NL_NW_PHis-L-W+H), 24 in all,
inallowedRotations, a placement's orientation,fixed_placementsand revision events;
Rotation::every(),isSigned(),isUpright().Rotation::all()is unchanged, and a signed
code on any other item isinvalid_request/invalid_value. placement_idon every placement, the canonical JSON of[container id, x, y, z, item_type, orientation]in ticks. A fixed placement or a locked revision event may quote it,
the execution plan copies it, andvalidatereportsplacement_id_mismatchand
duplicate_placement_id.currencyon the request and eachrate_table, echoed as the result'scurrency; it
never changes the packing.PackingRequest,Packer::pack()andRateTabletake a trailing
?string $currency, andvalidatereportscurrency_mismatch.optimality.lower_boundand the gap undermaximum_value,open_dimension_heightand
maximum_volume, besidesdefaultandlowest_cost;validatechecks them.new NestedPacker(int $levelBeamWidth = 1)carries the K best carton sets up a level and
lets the outermost level's score choose; 1 is the greedy chain, answer for answer.- A made-to-measure box may keep a
void_fill_reserve_ratio: when the box cut tight to the
load would break the reserve, a larger one is cut. PlanRevision::stockCutBoxes(), and the revision issueartifact_required.examples/packaging.php: an overhanging pallet, a gusseted mailer, a cut box with a
reserve and a nested beam.
Changed
unitsrefuses every key butlength:invalid_request/not_allowedat
/units/<key>. 1.9 read a bare weight as grams whateverunits.weightsaid; write the unit
on each weight instead.PlanRevision::derive()stocks a box already cut to measure that holds a locked or
verified placement, as<type>@<revision>#<instance>at its cut size, price and tare, where
1.9 derived a request every engine refused.verifyChain()checks that revision only when
given its approved artifact.keep_uprightnarrows an explicitallowed_rotationslist invalidate, not only the
default list.
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. - An artifact export refuses an integer past
2^53 - 1withnumber_out_of_range, where it
printed one up toPHP_INT_MAXthat other engines read differently. - A compressible item no longer joins a rigid item's grid lattice.
- A mixed fraction whose whole part is
PHP_INT_MINis refused as a negative measure,
where it failed later as a type error.