How to find expected number of items (3D irregular shape) fit in one Box (Bulk Packing)?
Look into below image example
Each items have same dimension. I am looking for simple algo for this problem.
How to find expected number of items (3D irregular shape) fit in one Box (Bulk Packing)?
Look into below image example
Each items have same dimension. I am looking for simple algo for this problem.
the obvious (and far from precise) limits are:
max = volume(bin) / volume(object)
min = volume(bin) / volume(OBB(object))
however the real number will be somewhere between the two. You could apply bin packing algorithms on your bin and objects however that would probably take too much time so instead I would use packing coefficient k
so the computation time is not too big:
n = k*volume(bin) / volume(OBB(object))
Where k
can be obtained on some "small" bin volume (while its dimensions are a multiple of object OBB) using any bin packing algorithm or simply measure it.