Container Loading Calculator

v1.0.0
io.github.CindyLiao1106/container-loading Checked 4 days ago Published 1 month ago

Work out how many flat-pack units fit in a 20ft or 40HQ container: layers, weight and utilisation.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

container_loading Container loading plan

Work out how many flat-pack units or panels fit in one 20ft (20GP) or 40ft high cube (40HQ) container. Returns units per layer, layers that fit the height, units limited by volume and by payload, the binding constraint, and the volume/payload utilisation. Use the packed size and weight of ONE unit. It does not estimate: if a dimension or the weight is missing it returns what is missing instead of a number.

ParameterTypeDescription
container *stringContainer type: 20gp (20ft general purpose) or 40hq (40ft high cube).
unitHeightMm *numberPacked height of one unit, in millimetres.
unitLengthMm *numberPacked length of one unit, in millimetres.
unitWeightKg *numberWeight of one packed unit, in kilograms.
unitWidthMm *numberPacked width of one unit, in millimetres.
allowRotationbooleanOptional. When true, the tool also tries each unit rotated 90 degrees and keeps the better units-per-layer. Default false, matching the web calculator.
maxLayersnumberOptional stacking limit: the most layers you are willing to stack. Omit or send 0 for no cap.