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

Example of not packing all items #5

Open
mosceo opened this issue Mar 19, 2021 · 0 comments
Open

Example of not packing all items #5

mosceo opened this issue Mar 19, 2021 · 0 comments

Comments

@mosceo
Copy link

mosceo commented Mar 19, 2021

p.AddBin(bp3d.NewBin("Bin", 60, 60, 60, 100))

p.AddItem(bp3d.NewItem("Item 1", 20, 60, 60, 1))
p.AddItem(bp3d.NewItem("Item 2", 60, 20, 60, 1))
p.AddItem(bp3d.NewItem("Item 3", 60, 60, 20, 1))

You algorithm will pack only the first two bins. Although it is possible to pack all three, just need to 3d-rotate them.

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