How to Check a Packing Plan for Floating Items
A packing plan can look convincing in a 3D view and still be wrong. The fill percentage reads 87%, the containers look full, and then you notice carton 41 hovering a few centimetres above the one below it, held in place by nothing but the renderer’s optimism. In transit, that carton shifts, drops, and takes the top layer of the stack with it.
This article is about one specific question: how to check a packing plan for floating items. Not how to build a plan, not how to calculate fill percentage — just how to establish, with evidence, that every item in a solution has something solid underneath it. We will look at what support actually means geometrically, how stacking classes constrain it, and how to inspect it in RSJ 3D Packer’s browser application, API response, sandbox, and GLB export.
Why Floating Items Are a Real Problem in Packing Plans
A floating item is an item with no supporting item directly beneath it. It is not resting on the container floor, and it is not resting on another packed item. In the coordinate space of the plan, there is empty space under it.
The practical consequences are boringly predictable:
- Damage in transit. An unsupported carton moves with every brake and turn. What it lands on is rarely what you would have chosen.
- Crushed lower layers. A floating item is usually a symptom of a stack that was never load-bearing in the first place. The item underneath takes an impact it was not planned for.
- Unloading hazards. A loose item at the top of the container becomes a falling object the moment the doors open.
- Rejected loads. Customers and carriers do inspect. An unstable stack is a legitimate reason to refuse a trailer.
Floating items are often associated with manually built plans — someone sketches layers in a spreadsheet, or a warehouse team improvises the last three rows — but the more dangerous case is a software plan where support was assumed rather than enforced. A tool that only reports fill percentage tells you nothing about whether item 41 is resting on item 40 or on air.
That is why the verification mindset matters here: a plan is only as good as its support guarantee. Fill percentage is a summary. Support is a property of every single item in the plan, and it either holds for all of them or the plan is not trustworthy.
What a Supported Packing Plan Looks Like
RSJ 3D Packer enforces one support rule across every plan it produces: every packed item is supported by the item below it, and the plan contains no floating items. This is not a post-processing cleanup step or a report you have to request. It is a property of the geometry the solver emits.
Two mechanisms make it work.
Stacking classes. Each item can carry an optional itemClass (an integer). The solver only ever places an item on items of a lower or equal class. So a class 2 carton may rest on class 1 or class 2 items, but never on class 3. That gives you a stable vertical order without you having to describe the stack layer by layer:
| Item below | Item above | Allowed? |
|---|---|---|
| class 1 | class 1 | yes |
| class 1 | class 2 | yes |
| class 2 | class 1 | no |
| class 3 | class 2 | no |
Explicit geometry. Every packed item in the result carries its container index and its x, y, z position, and width/height/depth map to x/y/z. Support is therefore checkable in the plan data itself — you are not inferring it from a 2D drawing, a photograph, or a note in a packing instruction. Height maps to the y axis, so an item’s base sits at y, its top at y + height, and “supported” means something with a matching top face is directly beneath it, or y is zero and the container floor is doing the work.
That distinction — geometry versus drawing — is the whole point. A 2D side elevation can hide a gap behind a nearer item. The coordinate list cannot.
Step-by-Step: Checking a Plan for Floating Items with RSJ 3D Packer
The product gives you four ways to inspect a plan, in increasing order of rigour. Use whichever fits your situation; they all describe the same solution.
Step 1 — Submit the problem in the browser application
Start at the packing application. Enter your containers and items, run the solve, and open the interactive 3D view of the result. The free test runs here and exposes the Pro feature set for 30 days, so you can experiment with stacking classes, vertical rotation flags, and risk types before committing to a plan.
Step 2 — Inspect the 3D view for unsupported items
The interactive viewer lets you orbit, zoom, and look under layers — which is the physical intuition you are trying to confirm. Look for items that hover, items whose base does not meet a face below, and items that appear to bridge a gap between two stacks.
If you need to share that view with a colleague or embed it in an internal tool, the viewer is embeddable in an IFRAME. There is also a sample packing solution on the landing page if you want to see the viewer’s behaviour before you have a plan of your own.
Step 3 — Treat the API response as the authoritative record
The 3D view is a rendering. The API response is the plan. To call it, first obtain a session:
# The hmac is an HMAC-SHA256 hash of your e-mail address, computed server-side
# while you are logged in, so a stand-alone client copies it once.
curl -s "https://3dpacker.rsj.de/user/you@example.com?hmac=$HMAC"
The response contains your user record and a session value. Sessions are valid for roughly a day, so fetch a fresh one rather than storing it:
curl -s -X POST https://3dpacker.rsj.de/solve \
-H "Authorization: Bearer $SESSION" \
-H "Content-Type: application/json" \
-d @problem.json
A minimal problem.json with stacking classes in play:
{
"containers": [
{ "width": 48, "height": 47, "depth": 46, "count": 1, "weight": 2000 }
],
"items": [
{ "width": 11, "height": 6, "depth": 6, "count": 51, "itemClass": 1 },
{ "width": 7, "height": 8, "depth": 9, "count": 53, "vertical": false, "itemClass": 1, "weight": 12 },
{ "width": 8, "height": 9, "depth": 10, "count": 57, "itemClass": 2, "riskTypes": [1, 2], "riskPoints": 10 }
],
"risks": [{ "type1": 1, "type2": 2 }]
}
The response lists every packed item with its container index and position:
{
"packedItems": [
{ "id": 0, "c": 0, "width": 11, "height": 6, "depth": 6, "x": 0, "y": 0, "z": 0 }
]
}
Because the solver enforces support, these positions describe a plan with no floating items. If you want to prove that to yourself — or to an auditor, or to a customer — a short script over packedItems is enough. Compare each item’s base against the top faces of everything in the same container, using the dimensions reported on the packed entry itself rather than the ones you sent in the request:
import json
plan = json.load(open("plan.json"))
packed = plan["packedItems"]
def overlaps(a, b, pos, size):
return a[pos] < b[pos] + b[size] and b[pos] < a[pos] + a[size]
floating = []
for item in packed:
if item["y"] == 0: # resting on the container floor
continue
supported = any(
other["c"] == item["c"]
and other is not item
and other["y"] + other["height"] == item["y"]
and overlaps(item, other, "x", "width")
and overlaps(item, other, "z", "depth")
for other in packed
)
if not supported:
floating.append(item["id"])
print("floating items:", floating)
An empty list is the answer you want.
Step 4 — Do a quick check in the API sandbox
If you do not want to build a client just to inspect one result, the API sandbox is a live request and response playground with a 3D preview, written in plain JavaScript. Paste a problem, send it, and look at both the JSON and the rendered arrangement. The sandbox relies on the browser application’s cookie authentication, so you do not need to paste a bearer token. The full field reference lives in the API documentation and as a machine-readable OpenAPI 3.0 document.
Step 5 — Export the GLB and inspect it elsewhere
For a portable artifact, download the solution as a GLB 3D model. Open it in any 3D viewer your team already uses and check the arrangement there. This is useful when the person signing off on the load does not have an account in your packing tool — the GLB is self-contained.
Interpreting Results and Edge Cases
A sparse-looking plan may have left items out, not floated them. The response includes unpackedItems with counts, and each item record carries a remaining value. Before you conclude that a container is under-filled or oddly stacked, check whether the item you expected simply did not fit. It is a different problem with a different fix.
vertical: false changes what can stack on what. An item marked "vertical": false may not be rotated out of its upright position. That constrains the orientations available to the solver, which in turn constrains which faces are available as support surfaces. A plan can be perfectly supported and still look unusual because an item that “should” have been laid flat had to stay upright.
Weight limits and stacking classes interact. Support is a geometric property; load-bearing is not. A container can carry a weight limit (maximum load), and an item can be excluded from a position because its class or its contribution to the total weight does not fit. A supported item is not automatically an allowed item.
Results are heuristically optimised, not optimal. The solver works within a 240-second time budget per request, on every plan. The neural network core is optimised through neuro-evolution, so you should expect good, stable plans rather than a mathematical proof of optimality. The guarantee you can rely on is the support rule, not the fill percentage.
Dangerous goods are a separate axis. Risk types, risk points, allowedRiskPoints on the container, and the risks pairs that must not be loaded together are checked independently of support. A plan with no floating items can still violate a segregation rule if your risk configuration is wrong. Check both.
When You Need More Than a Static Check
RSJ 3D Packer solves the static problem: items may be packed in any order, and the solver decides the arrangement from scratch. For most outbound loads that is exactly what you want.
It is not what you want if your process dictates sequence. If a route requires a fixed packing order — first-drop items at the door, deliveries loaded in reverse — a static plan may be simultaneously valid and unusable. The algorithm can be adapted for dynamic problems, for example a fixed packing order or a required unpacking order. That is a configuration conversation, not a checkbox, so raise it explicitly with the vendor rather than assuming the default plan covers it.
If your real goal is getting solutions into an existing order management workflow, the mechanics of that integration are covered separately in Integrate a Packing Solver Into Your Order Management System.
FAQ
Does RSJ 3D Packer ever produce a plan with floating items? No. The solver guarantees that every packed item is supported by the item below it, so the plan contains no floating items.
How can I check a plan for floating items without writing code? Use the browser application to submit your problem and open the interactive 3D view of the result. You can also use the API sandbox to send a request and preview the 3D result.
What does the API response tell me about support? The response lists packed items with their container index and x/y/z position, along with fill percentage per container, the number of containers used, and unpacked items with counts. Because the solver enforces support, the positions reflect a plan with no floating items.
Can I export the plan to check it in another 3D tool? Yes. The solution can be downloaded as a GLB 3D model, which you can open in a 3D viewer to inspect the arrangement.
Conclusion
Checking a plan for floating items is not a matter of squinting at a render until it looks plausible. It is a matter of asking a precise geometric question — does every item have a support face beneath it, or is it on the floor — and then reading the answer out of the plan data. RSJ 3D Packer answers that question by construction: support is enforced for every packed item, stacking classes keep the vertical order sane, and every position is exported with the plan so you can confirm it yourself.
Start with the free 30-day test on the packing application — it exposes the Pro feature set, so you can throw your own mixed-SKU problem at it and inspect the result in 3D, in the API response, and in a GLB export before you decide anything. If you want the background first, What Is 3D Bin Packing? A Plain-Language Introduction is the place to begin.
Related posts
- What Is 3D Bin Packing? A Plain-Language Introduction
- Integrate a Packing Solver Into Your Order Management System
- How to Calculate Container Loading for Mixed Carton Sizes