Doug Wright

Results 76 comments of Doug Wright

Yeah, to do this properly will be quite difficult - unpicking the assumptions in the code that width/height/depth are fixed would be doable, but care would need to be taken...

@spectravp knowing the formal name for this problem is very helpful, thank you! Unfortunately I don't think that formula is quite sufficient for what's needed here, as a simple volume...

Hi @noknokcody - I saw you reached out on LinkedIn, have replied to you there.

I'll try and take a look later this week

> ``` > $packer->addBox(new TestBox('Small', 160, 130, 70, 0, 0, 0, 0, 100000)); > $packer->addBox(new TestBox('Large', 250, 175, 100, 0, 0, 0, 0, 100000)); >``` I assume in the example...

This is one of those where when I tweak the logic to make the packing better in this particular scenario better, others regress and get worse. Will keep at it...

> Not sure if I should open a separate task or not In general yes please as it's very possible there are different issues in play for different scenarios. I've...

Hi Off the top of my head, the following performance things might apply 1) `$packer->setMaxBoxesToBalanceWeight(0)`, which I believe you're already doing 2) Xdebug really slows things down, if you're benchmarking...

Hi @patrick-melo When initially packing a box, BoxPacker will consider both orientations of the box, and the order you specify doesn't matter. However after that phase, by default BoxPacker activates...

Hi @shakethatweight-simon You want to draw the actual items, not just an encapsulating cuboid? (where those things are different). I think your identified solution is probably the only feasible one,...