← Back to team overview

yade-users team mailing list archive

Re: [Question #671141]: Positioning a cylinder

 

Question #671141 on Yade changed:
https://answers.launchpad.net/yade/+question/671141

drasszkusz gave more information on the question:
1. and 2. and 3. questions solved. Not really understood quaternion before.
drum=O.bodies.append(geom.facetCylinder((0,0,0),radius=1,height=2,orientation=Quaternion((1,0,0),pi/2),segmentsNumber=10,wallMask=4,color=(.3,.3,.3)))
RotationEngine(rotateAroundZero=True,zeroPoint=(0,0,0),rotationAxis=(0,1,0),angularVelocity=omega, ids = drum)

One question remained, if I use orientation=Quaternion((1,0,0),pi/4)
then how to calculate the rotation axis of the Rotation engine?

Thanks,
Daniel

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.