You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get different answers if I change the wdh for one of the boxes. For example, if I go with this:
#adding a bin
packer.add_bin(Bin('small-envelope', 3,3,3, 100))
#adding boxes
packer.add_item(Item('50g [powder 1]', 3,3,1, 1))
packer.add_item(Item('50g [powder 2]', 3,3,1, 2))
packer.add_item(Item('50g [powder 3]', 3,2,1, 3))
#answer I get
FITTED ITEMS:
====> 50g [powder 3](3.000x2.000x1.000, weight: 3.000) pos([0, 0, 0]) rt(0) vol(6.000)
====> 50g [powder 1](3.000x3.000x1.000, weight: 1.000) pos([0, Decimal('2.000'), 0]) rt(2) vol(9.000)
UNFITTED ITEMS:
====> 50g [powder 2](3.000x3.000x1.000, weight: 2.000) pos([0, 0, 0]) rt(5) vol(9.000)
It should be able to add all the three boxes in this particular bin.
But if I change the wdh positions for the third item,
#adding a bin
packer.add_bin(Bin('small-envelope', 3,3,3, 100))
#adding boxes
packer.add_item(Item('50g [powder 1]', 3,3,1, 1))
packer.add_item(Item('50g [powder 2]', 3,3,1, 2))
packer.add_item(Item('50g [powder 3]', 1,2,3, 3))
#answer I get
FITTED ITEMS:
====> 50g [powder 3](1.000x2.000x3.000, weight: 3.000) pos([0, 0, 0]) rt(0) vol(6.000)
====> 50g [powder 1](3.000x3.000x1.000, weight: 1.000) pos([Decimal('1.000'), 0, 0]) rt(3) vol(9.000)
====> 50g [powder 2](3.000x3.000x1.000, weight: 2.000) pos([Decimal('2.000'), 0, 0]) rt(3) vol(9.000)
UNFITTED ITEMS:
The text was updated successfully, but these errors were encountered:
Hi,
I get different answers if I change the wdh for one of the boxes. For example, if I go with this:
#adding a bin
packer.add_bin(Bin('small-envelope', 3,3,3, 100))
#adding boxes
packer.add_item(Item('50g [powder 1]', 3,3,1, 1))
packer.add_item(Item('50g [powder 2]', 3,3,1, 2))
packer.add_item(Item('50g [powder 3]', 3,2,1, 3))
#answer I get
FITTED ITEMS:
====> 50g [powder 3](3.000x2.000x1.000, weight: 3.000) pos([0, 0, 0]) rt(0) vol(6.000)
====> 50g [powder 1](3.000x3.000x1.000, weight: 1.000) pos([0, Decimal('2.000'), 0]) rt(2) vol(9.000)
UNFITTED ITEMS:
====> 50g [powder 2](3.000x3.000x1.000, weight: 2.000) pos([0, 0, 0]) rt(5) vol(9.000)
It should be able to add all the three boxes in this particular bin.
But if I change the wdh positions for the third item,
#adding a bin
packer.add_bin(Bin('small-envelope', 3,3,3, 100))
#adding boxes
packer.add_item(Item('50g [powder 1]', 3,3,1, 1))
packer.add_item(Item('50g [powder 2]', 3,3,1, 2))
packer.add_item(Item('50g [powder 3]', 1,2,3, 3))
#answer I get
FITTED ITEMS:
====> 50g [powder 3](1.000x2.000x3.000, weight: 3.000) pos([0, 0, 0]) rt(0) vol(6.000)
====> 50g [powder 1](3.000x3.000x1.000, weight: 1.000) pos([Decimal('1.000'), 0, 0]) rt(3) vol(9.000)
====> 50g [powder 2](3.000x3.000x1.000, weight: 2.000) pos([Decimal('2.000'), 0, 0]) rt(3) vol(9.000)
UNFITTED ITEMS:
The text was updated successfully, but these errors were encountered: