裝箱 API免費 Beta

同規劃器一樣嘅 Extreme-Point 引擎,一個 HTTP call 用到。重量限制、堆疊規則、易碎、同組聚集、多站卸貨分區 — 全部服務端執行。CORS 開放:瀏覽器、腳本、AI agent 都可以調用。

請求

curl -X POST https://www.dimpack3d.com/api/pack \
  -H "Content-Type: application/json" \
  -d '{
    "container": { "l": 589, "w": 235, "h": 239, "maxWeight": 28200 },
    "items": [
      { "label": "Master carton", "l": 60, "w": 40, "h": 40, "weight": 18, "qty": 120 },
      { "label": "Fragile", "l": 45, "w": 35, "h": 25, "weight": 6, "qty": 30, "maxStack": 0 }
    ]
  }'

回應

{
  "boxes": [ { "id": "i0-0", "label": "Master carton", "l": 60, "w": 40, "h": 40,
               "px": 0, "py": 0, "pz": 0, "weight": 18 }, … ],
  "unplaced": 0,
  "stats": { "volumeUtil": 78.4, "totalWeight": 2340, "weightUtil": 8.3,
             "cog": { "x": 271, "y": 63, "z": 115 }, "cogOffsetPct": { "x": -8, "z": -2 } },
  "zones": [ { "unloadOrder": 1, "xStart": 0, "xEnd": 589, "count": 150 } ],
  "computeMs": 41,
  "engine": "dimpack3d-extreme-point"
}

欄位

container.l/w/hInternal dimensions in cm (required)
container.maxWeightPayload limit in kg (optional)
items[].l/w/hItem dimensions in cm (required)
items[].qtyUnits of this item (default 1; ≤2,000 total per request)
items[].weightkg per unit (optional; enables weight/CoG stats)
items[].maxStackMax kg allowed on top; 0 = fragile, nothing stacks on it
items[].keepUprighttrue = never tip on its side ("this way up")
items[].allowRotatefalse = fixed orientation
items[].groupKeep-together group name (packed contiguously)
items[].unloadOrder1 = unload first (loaded nearest the door); LIFO zones

單位: cm / kg. 限制: 每次 100 種箱型、共 2,000 件。位置為最小角 (px, py, pz),櫃門喺 +X 方向。

條款: Beta 期間免費,合理使用。結果屬估算 — 重要裝載請核實。批量或商業授權: [email protected]

想用介面?打開互動規劃器 →