Skip to content

Bigger items first? #52

Description

@nk-alex

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions