← Back to team overview

yade-users team mailing list archive

Re: [Question #402426]: fill a box with polyhedra with size distribution (psdSizes, psdCumm )

 

Question #402426 on Yade changed:
https://answers.launchpad.net/yade/+question/402426

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
If you mean a makeCloud function specialized for polyhedra I would say no.
But actually you can use makeCloud to generate a sphere cloud and use this list to place polyhedra of the same size (say, each polyhedron is represented by the smallest sphere enclosing it).

list=makeCloud()
for s in list:
    O.bodies.append([convert sphere to polyhedron here])

Bruno

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