yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22117
Re: [Question #688763]: ossillation_rotation
Question #688763 on Yade changed:
https://answers.launchpad.net/yade/+question/688763
Status: Open => Answered
Jan Stránský proposed the following answer:
> rotationAngle = b.state.rot().norm()
> if rotationAngle > 0 and rotationAngle <= math.pi:
> ...
> elif b.state.rot().norm() > 0 and b.state.rot().norm() <= math.pi:
is if and elif condition different?
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.