rotate_x

UniformGrid.rotate_x(angle: float, point=None, transform_all_input_vectors=False)

Rotate mesh about the x-axis.

Parameters
anglefloat

Angle in degrees to rotate about the x-axis.

pointlist, optional

Point to rotate about. Defaults to origin (0.0, 0.0, 0.0).

transform_all_input_vectorsbool, optional

When True, all input vectors are transformed. Otherwise, only the points, normals and active vectors are transformed.