BoxPacker icon indicating copy to clipboard operation
BoxPacker copied to clipboard

Item Rotation constraints cause differents results

Open Elyos59 opened this issue 4 years ago • 0 comments

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... ?

Elyos59 avatar Nov 09 '21 12:11 Elyos59