Comments (3)
Very interesting! I'm open to updating the code. I've taken time away from this project but now have some more time to hop back into it. Soon I will run the tests on the before and after code to see how this affects them. I'll report back.
Thank you for bringing this up!
from 3dcontainerpacking.
I was able to verify both the issue and the proposed fix.
Following the original comment from @garrettsickles, I ran the packing algorithm on set 4 of the randomly generated problem sets from Appendix D of the original master's thesis. This test attempts to pack 1000+ items into a single 104x96x84 container.
Packing with the unfixed code yielded the same issue @garrettsickles noted, shown here:
Notably, you can also see where the accidental shifting started in this layer. That's what pushed the final item in the layer outside the bounds of the container:
With the proposed fix, the algorithm correctly closes that gap:
Great work, @garrettsickles, @robertson-so, and @MarkusFaatz!!
I will roll the fix into master in this repo soon. Thanks, everyone!
from 3dcontainerpacking.
Fix committed.
from 3dcontainerpacking.
Related Issues (20)
- Rotation and Stacking HOT 8
- Orientation HOT 3
- How to run the app HOT 1
- Can you publish this lib as Nuget package HOT 2
- Restrict rotations of boxes and container
- Question: Find largest containers that fits inside volume HOT 2
- nuget update for fix HOT 1
- Pack all items - many available boxes HOT 1
- Algorithm not giving result HOT 2
- Container with already packed items HOT 1
- I would like to consult with you about the packing project
- Invalid layer index reference
- Run the algorithm on web
- Does putting heavy boxes first makes sense?
- Avoiding packing items at corners due to rounded corners of container
- How do you include padding? HOT 3
- How to modify the code so that items doesn't go above each other HOT 1
- When duplicating the cargo, 3x as many containers are created
- Dealing with floats.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dcontainerpacking.