yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06946
Re: [Question #218831]: find the center of a clump
Question #218831 on Yade changed:
https://answers.launchpad.net/yade/+question/218831
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello Christian,
what exactly do you mean by "center of clump"? If you mean center of
gravity, you can simply access it by:
for b in O.bodies:
if (b.isClump):
cg = b.state.pos
cheers
Jan
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.