pack_check
Verify if a part fits inside a shipping carton with reorientation and compute dimensional and billable weight to flag packaging pass or fail.
Instructions
Check a part against a shipping carton + compute billable weight.
part_bbox_mm/carton_mm are [l,w,h] mm; fits allows reorientation (sorted-dim
compare). void_fraction = 1−vol(part)/vol(carton); dim_weight_kg =
vol(carton cm³)/dim_factor (default 5000 metric DIM); billable_weight_kg =
max(actual, dimensional). Returns {fits, void_fraction, dim_weight_kg,
actual_mass_kg, billable_weight_kg, pass}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass_g | Yes | ||
| carton_mm | Yes | ||
| dim_factor | No | ||
| part_bbox_mm | Yes |