Question #690948 on Yade changed: https://answers.launchpad.net/yade/+question/690948
Status: Open => Answered Jan Stránský proposed the following answer: you use for center,radius in sp: # [1] not directly bodies Try: ### sp=pack.SpherePack() sp.makeCloud((0,0,0),(20,20,5), rMean = 1) center = Vector3(0,0,0) rotation = Quaternion((1,0,0),.25*pi) for c,r in sp: c = center + rotation * (c - center) O.bodies.append(utils.sphere(c,r)) ### cheers Jan [1] https://yade-dem.org/doc/yade.pack.html#yade._packSpheres.SpherePack -- 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 : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp