• Support PF! Buy your school textbooks, materials and every day products Here!

Rotate a cylinder to allign axis

  • Thread starter johnfriend
  • Start date
  • #1
Hi i have cylinder geometry . bottom (cross section)circle centre point is x1, y1, z1 and top is x2, yz, z2. cylinder centre axis is not allign with any (Global x,y,z) axis. if i want to align a cylinder with Global axis(x,y,z), what is angle need to rotated with respect to x ,y ,z (Global )axis.
 

Answers and Replies

  • #2
461
0
Declination angle is what you are looking for. The difference between the center will give the spatial coordinates. The (x,y,z), (x1,y1,z1) and (x2,y2,z2) must all be of the same coordinate system or conversion is necessary. Here is the equation for Declination:

DECangle=atan((z2-z1) / sqrt((x2-x1)^2 + (y2-y1)^2))
 
  • #3
cylinder model declinde with all three (cartesian)axis. it's declined with theta1 axis with respect to X, theta2 axis with respect to Y and theta3 axis with respect to Z.how to calculate that?
 
Last edited:
  • #4
find inclined angle of cylinder?

cylinder model Inclined with all three (x,y,z-cartesian)axis. it's Inclined with theta1 axis with respect to X, theta2 axis with respect to Y and theta3 axis with respect to Z.how to calculate theta1,theta2,theta3?
 
  • #5
461
0
Which axis is the cylinder pointing?
 
  • #6
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,507
729


If you have a vector in the direction of the cylinder axis, a unit vector in that direction has the direction cosines for its components. They are the cosines of your angles.
 

Related Threads for: Rotate a cylinder to allign axis

  • Last Post
Replies
2
Views
1K
Replies
3
Views
3K
Replies
1
Views
5K
Replies
1
Views
781
Replies
0
Views
2K
Replies
2
Views
1K
Replies
2
Views
1K
Top