yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05859
Re: [Question #194186]: get informations from clumps (O.bodies.shape.members)
Question #194186 on Yade changed:
https://answers.launchpad.net/yade/+question/194186
Status: Open => Solved
Christian Jakob confirmed that the question is solved:
Found out, that
b = O.bodies[clump_id]
id_member1 = b.shape.members.keys()[0]
position_member1 = b.shape.members[id_member1][0]
orientation_member1 = b.shape.members[id_member1][1]
will do what I want.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.