Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating boxes with plain packager #702

Closed
khorchanov opened this issue May 8, 2023 · 1 comment
Closed

Floating boxes with plain packager #702

khorchanov opened this issue May 8, 2023 · 1 comment

Comments

@khorchanov
Copy link

Floating boxes with plain packager :

    private static List<StackableItem> products = Arrays.asList(
            new StackableItem(Box.newBuilder().withDescription("1").withSize(395, 260, 185).withWeight(7).build(), 20),
            new StackableItem(Box.newBuilder().withDescription("2").withSize(530, 255, 150).withWeight(5).build(), 1)
    );

    private static Container container = Container.newBuilder().withDescription("1")
            .withEmptyWeight(0)
            .withSize(1200, 1200, 500)
            .withMaxLoadWeight(10000)
            .build();

     var p_packager = PlainPackager.newBuilder().build();

image

@skjolber
Copy link
Owner

skjolber commented May 8, 2023

@khorchanov this is a known issue, and it is also desireable for some cases, like small web shop orders where empty space is just filled in.

But obiously this is not ideal for a lot of scenarios, so I've created a new issue: #554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants