Skip to content

Can i maximize the number of iterations of packer before it stops with a large number of items #618

Answered by jackmagielse
jackmagielse asked this question in Q&A
Discussion options

You must be logged in to vote

i just found something in the issues section with a similar problem. 1 of the suggested options was to use
$packer->setMaxBoxesToBalanceWeight(0)
I tried it and it made a really big difference.
Another effect of this setting is that the weight is not equally divided anymore and the boxes are filled with a higher percentage which i actually wanted.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dvdoug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant