py3dframe.Frame.set_global_euler_angles#

Frame.set_global_euler_angles(euler_angles: ndarray, *, convention: int | None = None, degrees: bool = False, seq: str = 'xyz') None[source]#

Set the Euler angles between the global frame and the frame in the given convention.

Parameters:
  • euler_angles (numpy.ndarray) – The Euler angles between the global frame and the frame in the given convention with shape (3,).

  • convention (Optional[int], optional) – The convention to express the transformation. It can be an integer between 0 and 7 or a string corresponding to the conventions. Default is the convention of the frame.

  • degrees (bool, optional) – If True, the Euler angles are in degrees. Default is False.

  • seq (str, optional) – The axes of the Euler angles. Default is “xyz”.