3DContainerPacking icon indicating copy to clipboard operation
3DContainerPacking copied to clipboard

Bigger items first?

Open nk-alex opened this issue 1 year ago • 1 comments

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:

image

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.

nk-alex avatar Jan 23 '24 18:01 nk-alex