Skip to content

Bug in choosing best box (easy packing) #621

@DavideWasTaken

Description

@DavideWasTaken

Hi, the algorithm works well and thanks for the beautiful repo!
i notice in a simple packing, a error while choosing the best box.

BOX1:

Inner Width Inner Length Inner Depth

260 415 285

BOX2:

Inner Width Inner Length Inner Depth

250 425 150

item 1:

"QUANTITY": 2,
"WEIGHT": 0.303,
"LENGHT": 260,
"WIDE": 198

item 2:

"QUANTITY": 2,
"WEIGHT": 0.231,
"LENGHT": 175,
"WIDE": 122,
"HEIGHT": 45

with beStrictAboutItemOrdering(true); it chooses the BOX2 (CORRECT) but it show this 3d
image
and the a item is floating in a lot of cases

with beStrictAboutItemOrdering(false); it chooses the BOX1 (WRONT) but this property works for the majority of my cases and 3d is good everytime

Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions