وثائق المطورينGet started
Results & coordinates
Where every item sits, in which orientation and loading order.
All positions and sizes are in cm, measured from the min corner of the cargo space.
Coordinates
| Axis | Runs along | 0 is at |
|---|---|---|
x | Length | The front wall. x = length is the door |
y | Height | The floor |
z | Width | The right wall, seen from the door looking in |
Placements
result.vehicles[].placements[], one per item unit:
| Field | Holds |
|---|---|
item_id, instance | Your item id and which unit of its quantity (1…n) |
x, y, z | Min corner of the item as placed |
length, width, height | Size along x, z and y as placed |
orientation, rotated | How it was turned (below) |
step | Loading order in the vehicle, 1 first |
{
"item_id": "pallet-eu",
"instance": 2,
"label": "Euro pallet",
"x": 0,
"y": 0,
"z": 120,
"length": 80,
"width": 120,
"height": 140,
"rotated": true,
"orientation": "wlh",
"step": 2,
"weight": 450
}Euro pallet 2 stands at the front wall (x 0–80), on the floor, z 120–240 from the right wall, turned a quarter.
Orientation
Which of your sides lies along x, z and y:
| Code | Meaning |
|---|---|
lwh | As defined |
wlh | Turned 90° around the vertical axis |
lhw, hlw | Laid on its side |
hwl, whl | Stood on its end |
rotation: "upright" allows lwh and wlh only. fixed allows lwh only.
Per vehicle
| Field | Holds |
|---|---|
items_placed, total_weight | What is in it |
volume_utilization, weight_utilization | 0–1 |
center_of_gravity | x, y, z of the load |
axle_loads[] | Load per axle. Requires access (axle_loads) |
Not loaded
result.unplaced[] lists units that did not fit, with a reason. With packing_mode: "auto" vehicles are added (up to the job limit) before anything is left out.