fill a box with polyhedra with size distribution

Asked by Kun Zeng

Hi,

I am writing to ask how to fill a box with polyhedra with size distribution. I found one FAQ in[1]:

Bruno said "can use makeCloud to generate a sphere cloud and use this list to place polyhedra of the same size:
list=makeCloud()
for s in list:
    O.bodies.append([convert sphere to polyhedron here])

Do you know how to type the code to replace the spheres with ployhehra? Thanks...

[1] https://answers.launchpad.net/yade/+question/402426

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Kun Zeng
Solved:
Last query:
Last reply:
Revision history for this message
Kun Zeng (zkbread) said :
#1

Sorry... I got the method to do this ....