Doug Wright

Results 72 comments of Doug Wright

Hi @xBIGDBx I'll take a look

Hi @xBIGDBx Your example here is probably the "worst" case of a scenario as far as the packing algorithm is concerned. There are 2 things that are negatively affecting the...

Yes...and no. The algorithm is designed around making decisions about orientations of items within a space, so changing that to work within an unbounded volume would be very hard I...

@garryhicks the interfaces (https://github.com/dvdoug/BoxPacker/blob/master/src/Item.php and https://github.com/dvdoug/BoxPacker/blob/master/src/Box.php) explain them a little more, but perhaps that page of the docs could explain it too - essentially, because boxes have walls there is...

@iget-esoares sincere apologies for the delay, but could you expand on your usecase a little more?

@sandrodz I get *that* use case, I'm confused by the notion of creating a big fake box for a shipping API that can't accept multiple real life boxes - the...

Hi @fonteyazilim There is no perfect box-packing algorithm in existence, so like all such algorithms BoxPacker is essentially a set of heuristics which due to their very nature will sometimes...

Hi @pikil Before I take a look in detail, could I please just check if you've plotted using the correct axes? I've had a few reports about weird packings that...

Awesome, good to hear. I think there are potentially more improvements that could be made here so I'll keep this open for now

Hi @colinmollenhour 🤞 I should have time around October to come back and have a proper attempt at issues like this - unfortunately while it's easy(ish) to figure out which...