Sketchup reference states:

`Class: Geom::Transformation.rotation(point, vector, angle) ⇒ Geom::Transformation`

*The rotation method is used to create a transformation that does rotation about an axis.*

Well, my problem is how to find the axis. I have a polygon which is in component and I want to rotate the component **about it’s center**. To be more exact, it is cylinder so 2 polygons having 24 faces, in fact.

So suppose I have selected the polygon now I need just to find the axis to rotate it. How to do it?

Note:

As the reference does not state if we should use radians or degrees, I expect the rotation will be in degrees.