Examples
Examples
Try the starting example
- Rectangular depot width x (m)
- 20
- Rectangular depot depth y (m)
- 15
- Vehicle body footprints JSON [ID,width m,length m]
- [["A",2,5],["B",2,5],["C",2.5,7]]
- User full-width maneuvering strip at y=0 (m)
- 5
- User per-side bay clearance (m)
- 0.5
- Conceptual parked bodies [ID,x,y,width,length,rotation] (m)
- [["A",0.5,5.5,2,5,0],["B",3.5,5.5,2,5,0],["C",6.5,5.5,2.5,7,0]]
- Unplaced vehicle IDs
- []
- Reserved maneuvering strip [x,y,width,depth] (m)
- [0,0,20,5]
- Placed vehicle count
- 3
Try another scenario
- Rectangular depot width x (m)
- 10
- Rectangular depot depth y (m)
- 15
- Vehicle body footprints JSON [ID,width m,length m]
- [["A",2,5],["B",2,5],["C",2.5,7]]
- User full-width maneuvering strip at y=0 (m)
- 5
- User per-side bay clearance (m)
- 0.5
- Conceptual parked bodies [ID,x,y,width,length,rotation] (m)
- [["A",0.5,5.5,2,5,0],["B",3.5,5.5,2,5,0],["C",6.5,5.5,2.5,7,0]]
- Unplaced vehicle IDs
- []
- Reserved maneuvering strip [x,y,width,depth] (m)
- [0,0,10,5]
- Placed vehicle count
- 3
Calculation method
Calculation method
Conceptual parked bodies [ID,x,y,width,length,rotation] (m)
Inflate each footprint by twice supplied bay clearance. Pack inflated boxes by bottom-left heuristic outside maneuvering strip, allow 90° rotation. Return body boxes inset by clearance.
Unplaced vehicle IDs
Heuristic leftovers.
Reserved maneuvering strip [x,y,width,depth] (m)
[0,0,depotWidth,stripDepth].
Placed vehicle count
Count placed bodies.
Symbols and units
- a
- Rectangular depot width x (m)
- b
- Rectangular depot depth y (m)
- c
- Vehicle body footprints JSON [ID,width m,length m]
- d
- User full-width maneuvering strip at y=0 (m)
- e
- User per-side bay clearance (m)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Conceptual rectangle plan with a clear front strip. Does not compute swept paths, turning circles, door swing, fire access, charger connections or actual maneuverability; strip/clearance entirely user supplied. Supported limits: 1..100 vehicle boxes; positive dimensions; 0<strip<depth; clearance>=0; no obstacles in this bounded model.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.