yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23145
Re: [Question #690845]: How to make each irregular polyhedron randomly generated in makeCloud different?
Question #690845 on Yade changed:
https://answers.launchpad.net/yade/+question/690845
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> b=polyhedra_utils.polyhedra(...,seed=5,...)
use different seed, e.g.
###
for i,s in enumerate(sp):
...
b=polyhedra_utils.polyhedra(...,seed=i+1,...)
###
or do not set seed at all.
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.