yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15204
Re: [Question #644873]: getroundness
Question #644873 on Yade changed:
https://answers.launchpad.net/yade/+question/644873
mohsen posted a new comment:
sorry; the getRoundness doe not work for this clump:
for z in ([-0.1,.1]):
for y in ([-0.18,-.07,.07,.18]):
pos =Vector3(-.14,y,z)
O.bodies.append(utils.sphere(pos,.24,color=Vector3(1,.9,.15)))
for x,y in [(0,.18),(.15,.18),(.08,.07),(.01,-.07),(-0.07,-.18)]:
for z in ([-0.1,.1]):
pos =Vector3(x,y,z)
O.bodies.append(utils.sphere(pos,0.24,color=Vector3(1,.9,.15)))
O.bodies.clump(range(0,len(O.bodies)))
Regards
--
You received this question notification because your team yade-users is
an answer contact for Yade.