New question #218831 on Yade:
https://answers.launchpad.net/yade/+question/218831

Hi,

I want to find the centers of clumps. 

for b in O.bodies:
  if (b.isClump):
    id_member1 = b.shape.members.keys()[0]
    vec_dist = O.bodies[id_member1].state.pos + 
O.bodies[id_member1].state.refPos

Is this right?
Or do I have to subtract refPos instead of adding it?

Christian.

-- 
You received this question notification because you are a member of
yade-users, which 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