Scale.from_euler_angles

classmethod Scale.from_euler_angles(euler_angles, static=True, axes='xyz', point=[0, 0, 0])

Construct a transformation from a rotation represented by Euler angles.

Parameters
  • euler_angles ([float, float, float]) – Three numbers that represent the angles of rotations about the defined axes.

  • static (bool, optional) – If True the rotations are applied to a static frame. If False, to a rotational.

  • axes (str, optional) – A 3 character string specifying the order of the axes.

  • point (list[float], optional) – The point of the frame.

Returns

Transformation – The transformation.