Comments (2)
I solved it this way but I'm not sure what damage it could do to the code.
main.py -> 481 line:
for i in r :
try:
result.append(round(i / sum(r) * 100,2))
except:
result.append(1)
from 3d-bin-packing.
You can check the gravityCenter function in main.py file.
The weight is round to the int, if the weight of each item is 0 after rounding, the calculation of the gravity distribution will result in an error.
It's not recommended to modify the weight in main.py --> line 481, it will cause the weight distribution calculation to be wrong, maybe you can change the unit from pounds to grams.
from 3d-bin-packing.
Related Issues (16)
- Does it only support one bin? HOT 3
- is it possible to fix the distribute_items=True HOT 4
- is this repo supports multiple bin? HOT 11
- How to install this package? HOT 1
- Float issue still exist HOT 4
- Sorting error under multiple conditions? HOT 1
- There is no implementation of writing the part number on the item in example 6 HOT 3
- Pivot point refers to which point? HOT 3
- There is a bug in example7 HOT 1
- Empty space dimension HOT 1
- Painter HOT 1
- Floating boxes with Fixpoint = True HOT 4
- problem of plotting Cylinder HOT 23
- solution is not optimal - problem of rotation HOT 1
- Cannot write anything on cubes. HOT 2
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 3d-bin-packing.