← Back to team overview

yade-users team mailing list archive

[Question #667815]: fill a box with polyhedra with size distribution

 

New question #667815 on Yade:
https://answers.launchpad.net/yade/+question/667815

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

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.