1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Rotate a cylinder to allign axis

  1. Aug 29, 2012 #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.
     
  2. jcsd
  3. Sep 2, 2012 #2
    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))
     
  4. Sep 6, 2012 #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: Sep 7, 2012
  5. Sep 7, 2012 #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?
     
  6. Sep 7, 2012 #5
    Which axis is the cylinder pointing?
     
  7. Sep 7, 2012 #6

    LCKurtz

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Re: find inclined angle of cylinder?

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook