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

Predefined box positions + allow continuation of previous packager result. #571

Open
devourersouls opened this issue Oct 9, 2022 · 4 comments

Comments

@devourersouls
Copy link

Is it possible to set certain areas that will initially be occupied by other boxes?

For example, I have a container with dimensions 1000x1000x1000.
I need to initially put two boxes with dimensions 100x100x100 in coordinates 0,0,0 and 900,0,0.

After that I need to calculate the position of other N boxes with different sizes automatically. How to implement it? I looked towards StackConstraint, but did not understand how to use it in this case.

@skjolber
Copy link
Owner

skjolber commented Oct 9, 2022

This is currently not supported, but perhaps adding some custom initializer to ExtremePoints3D would do the trick.

@devourersouls
Copy link
Author

Ok, thanks. Is it possible to disable the positioning of boxes at certain coordinates? my problem is similar to issue #97

@skjolber
Copy link
Owner

@devourersouls I think the most easy approach would be to pass a list of free (possibly overlapping) areas.

But just to be clear, you actually need to place some boxes in a rectangular container, this is not some kind of non-rectangular container shape?

@devourersouls
Copy link
Author

@skjolber Yes, you are right, I have a non-rectangular container shape. I thought that the simplest solution would be to initially take certain places that should not be used.

@skjolber skjolber changed the title Predefined box positions Predefined box positions + allow continuation of previous packager result. Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants