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.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to