BoxPacker
BoxPacker copied to clipboard
Item Rotation constraints cause differents results
Hi,
Due to my problem ( https://github.com/dvdoug/BoxPacker/discussions/261 ), I have made some tests with original code (TestItem)
If I try to put 60 Items (140x35x30) in a box (280x175x180) I have differents results depends on item rotation constraints :
- All items ROTATION_NEVER => all items fit the box
- All items ROTATION_KEEP_FLAT => all items fit the box
- All items ROTATION_BEST_FIT => 30 items per box
So... ROTATION_BEST_FIT is not the best way... ?