rotate_vector

UniformGrid.rotate_vector(vector: List[float], angle, point=None, transform_all_input_vectors=False)

Rotate mesh about a vector.

Parameters
vectortuple

Axes to rotate about.

anglefloat

Angle in degrees to rotate about the vector.

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.