rblock.prin.euler

Syntax

Vector Access

v = rblock.prin.euler(p<,i>) (3D ONLY)

Get the orientation of the principal axis. This orientation cannot be reset. The convention \(\big\{X,Y^{'},Z^{''}\big\}\) is used (i.e., the x-, y-, and z-components correspond to the sequential rotations about the \(X\), \(Y^{'}\), and \(Z^{''}\) axes).

Returns:

v - rigid block orientation vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

f = rblock.prin.euler.x(p) (3D ONLY)

Get the x-component of the principal axis.

Returns:f - x-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.prin.euler.y(p) (3D ONLY)

Get the y-component of the principal axis.

Returns:f - y-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.prin.euler.z(p) (3D ONLY)

Get the z-component of the principal axis.

Returns:f - z-component of the rigid block orientation vector
Arguments:p - rigid block pointer