Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigger items first? #52

Open
nk-alex opened this issue Jan 23, 2024 · 0 comments
Open

Bigger items first? #52

nk-alex opened this issue Jan 23, 2024 · 0 comments

Comments

@nk-alex
Copy link

nk-alex commented Jan 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant