-
Notifications
You must be signed in to change notification settings - Fork 18
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
Features / use case #87
Comments
Interesting usecase and thanks for the kind words!
These both sound like good options. Option to have shelves always created at fixed heights could be solved by #5, and option to determine which dimensions allow auto grow would be easy to do. |
Thanks @bhousel for the quick response! So after a little more hacking I'm not sure the 2 options I suggested are the best way to approach my problem. I was able to get a better optimization by simply using some trickery in my code: What I do roughly is:
I believe this works for me because my parts tend to be longer but just shy of the material size (I have a lot of 30 inch cuts on 48 wide ply). |
@waldenbuilds This makes a lot of sense! This library was originally intended to pack glyphs into a texture, so you probably want your bins to be aligned vertically like the letters in the alphabet, and it will help to sort them by height (I think longest to shortest might work best, but try other ways too!) good luck.. |
Im using shelf pack to pack plywood cuts into the min amount of sheets. For example:
Yes, there are other packing libs which are designed more for this, but I find them difficult to use - mapbox always puts out high quality stuff. Shelfpack is really close to doing what I need.
What would be great is 2 additional options/ behaviors:
The text was updated successfully, but these errors were encountered: