RULE / BALANCE

Centre of mass and axle load in 3D packing

The aggregate centre of mass, the support polygon and exact gross two-axle reactions are enforced through the same constraint layer as geometry.

EXPRESSED WITHcentre of mass · support polygon · axles

Why it exists

Utilisation is not the only objective. A dense arrangement that puts the load over one axle is a compliance problem, not a good answer.

What a useful refusal looks like

The engine returns the rule that refused, the item it refused, and the measured value against the configured threshold. It also states how strongly that is backed: proven, observed, inferred, or unknown because a search limit was reached first.

See the fixtures for this rule
THE SAME REQUEST, WITH AND WITHOUT THE RULE

What this rule changes

One request, run twice by @packvium/engine while this page was built: once as written, once with only this rule taken out. The request diff is the whole input change; everything in the result diff follows from it.

WITHOUT THE RULEEverything fitted2/2
2000×200×200 · 20.0% used
heavy × 1light × 1
Open in the Playground →
WITH THE RULEBest packing found1/2
2000×200×200 · 10.0% used
light × 1
REFUSED · 1
heavy#1Inferred

Would overload an axle wherever it stands axle_overloaded

Open in the Playground →
REQUEST DIFF
  … unchanged lines: 31          "height": "200"        },+       "axles": [+         {+           "position": "400",+           "max_load": "300 kg"+         },+         {+           "position": "1600",+           "max_load": "300 kg"+         }+       ]      }    ]  }
RESULT DIFF
  • statusEverything fitted → Best packing found
  • items packed2 → 1
  • heavy#1packed → axle_overloaded · inferred
  • placementsplaced elsewhere: 1