Skip to content

Different (and less efficient) packing from switching an item's dimensions #26

Open

Description

@DLDevolus

I noticed that despite having the exact same item size, minus the dimension change, I get a less efficient 3D view of boxing. This ends up in a lot of wasted space.

*Also, I believe that the dimensions are width, height, length (as opposed to height, width, length as listed on the API page).

My example--

bin: 
0:100:29x25x43.5

items:
0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5,0:0:1:24x10x5

The above example gave me a very efficient packing with as little space wasted. Now if I switch the dimensions of the item's width and height, this results in a less efficient packing, even though the shape of the item effectively hasn't changed at all--

bin: 
0:100:29x25x43.5

items:
0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5,0:0:1:10x24x5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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