← Back to team overview

yade-users team mailing list archive

Re: [Question #677828]: creat many polyhedra in a box

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> what does the param ratio refer to in function fillBox?

according to source code [1] (after a quick look), for nonzero values it
scales the sizemin and sizemax values. You can experiment a bit :-)

> ... of different shape and size with fixed proportion and distribution
...

you can use makeCloud with psdCumm and psdSizes parameters [2]. I am not
very familiar with it, so please see examples or ask a new question
concerning this.

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/blob/master/py/_polyhedra_utils.cpp#L260
[2] https://yade-dem.org/doc/yade.pack.html#yade._packSpheres.SpherePack.makeCloud

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