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

remove the item that do not stack on top of each other #35

Open
mjsandoval04 opened this issue Dec 16, 2022 · 1 comment
Open

remove the item that do not stack on top of each other #35

mjsandoval04 opened this issue Dec 16, 2022 · 1 comment

Comments

@mjsandoval04
Copy link

Hello folks,

I am new to 3dbinpacking and python in general, so go easy on me.

I've been trying to use 3dbinpacking to create a simulation in Anylogic in which operators use a pallet-trolley to pick boxes/items in a specific order from a warehouse. The pick order is based on the results of the Bin-Packing algorithm.

the container/bin is based on the standard dimension of a EuroPallet and the boxes are standard carton boxes with different sizes.

My issue is that some of the boxes do not overlap 100%. This is ok if the pallet is actually enclosed but in a real-world scenario like using a pallet trolley to pick boxes if the boxes are not put one on top of the other they will probably fall down

my question is there a way to remove the items/boxes that do not stack on top of each other?

Current results of running 3dbinpacking

boxesissue2 DXF_001

Desire results after removing items/boxes with the surface not overlapping 100% another item/box (the remaining boxes should be packed in another container/bin)

boxes issue 2 DXF

@moschd
Copy link

moschd commented Jan 2, 2023

Hi @mjsandoval04,

This happens because in function pack_to_bin, positions along the Axis.WIDTH are checked for all items currently in the bin before moving onto the next axis. So if any item currently in the bin has an available spot along the width axis, it will be picked first.

Since the XYZ coordinates of each item inside the bin are already known, it is possible to write an additional check that checks if the item to be placed would have enough support surface.

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

2 participants