yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17832
Re: [Question #671141]: Positioning a cylinder
Question #671141 on Yade changed:
https://answers.launchpad.net/yade/+question/671141
Status: Open => Answered
Jan Stránský proposed the following answer:
> One question remained, if I use orientation=Quaternion((1,0,0),pi/4)
then how to calculate the rotation axis of the Rotation engine?
try (not tested)
quaternion * originalAxis
i.e.
Quaternion((1,0,0),pi/4) * Vector3(0,0,1)
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.