Rotate a cylinder to allign axis

Click For Summary

Discussion Overview

The discussion revolves around the problem of aligning a cylinder's axis with the global coordinate axes (x, y, z). Participants explore the angles required for this alignment, considering the cylinder's current orientation and the necessary transformations to achieve alignment.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant inquires about the angle needed to rotate a cylinder to align its axis with the global axes, given the coordinates of the cylinder's ends.
  • Another participant suggests that the declination angle can be calculated using a specific equation involving the coordinates of the cylinder's endpoints.
  • A different participant mentions that the cylinder is inclined with respect to all three Cartesian axes and asks how to calculate the angles of inclination (theta1, theta2, theta3).
  • Further, a participant questions which axis the cylinder is currently pointing towards, indicating a need for clarification on the cylinder's orientation.
  • Another participant proposes that if a vector in the direction of the cylinder's axis is known, its direction cosines can be used to determine the angles of inclination.

Areas of Agreement / Disagreement

Participants express various approaches to calculating the angles for alignment, but there is no consensus on a single method or solution. Multiple competing views on how to determine the necessary angles remain unresolved.

Contextual Notes

Some participants mention the need for all coordinates to be in the same coordinate system, implying potential limitations in the calculations if this condition is not met. Additionally, the discussion includes various assumptions about the definitions of angles and orientations that are not fully clarified.

Who May Find This Useful

This discussion may be useful for individuals interested in geometry, engineering applications involving cylindrical structures, or those working with coordinate transformations in three-dimensional space.

johnfriend
Messages
3
Reaction score
0
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.
 
Physics news on Phys.org
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))
 
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:
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?
 
Which axis is the cylinder pointing?
 


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.
 

Similar threads

Replies
17
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K