Molding Pack Check
pack_checkCheck whether a part fits a shipping carton with reorientation, then calculate dimensional and billable weight to validate packaging and shipping cost.
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}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"part_bbox_mm": "<part_bbox_mm>",
"carton_mm": "<carton_mm>",
"mass_g": "<mass_g>"
},
"name": "pack_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass_g | Yes | ||
| carton_mm | Yes | ||
| workspace | No | Run this call in this named workspace | |
| dim_factor | No | ||
| part_bbox_mm | Yes |