3DContainerPacking
3DContainerPacking copied to clipboard
Bigger items first?
I have seen this output with the following execution: Having a container:
| Id | Length | Width | Height |
|---|---|---|---|
| 1 | 12 | 8 | 8 |
Having three items:
| Id | Dim1 | Dim2 | Dim3 | Quantity |
|---|---|---|---|---|
| 3 | 8 | 12 | 2 | 2 |
| 2 | 8 | 12 | 1 | 1 |
| 1 | 2 | 4 | 2 | 2 |
Result:
| Item Id | Coord x | Coord y | Coord z |
|---|---|---|---|
| 3 | 0 | 0 | 0 |
| 3 | 0 | 2.0 | 0 |
| 1 | 0 | 4.0 | 0 |
| 1 | 4.0 | 4.0 | 0 |
| 2 | 0 | 6.0 | 0 |
Which graphically would be this:
Is it a way to force the algorithm to use bigger items first so the purple items would be above the red and yellow ones? I'm just trying to achieve a more "human" output of the algorithm without messing up the results.