rblock.euler

Syntax

Vector Access

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

Get/set the rigid block orientation. 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). This value is incremented during cycling, and can be reset.

Returns:

v - rigid block orientation vector or component

Accepts:

v - rigid block orientation vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

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

Get/set the x-component of the rigid block orientation.

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

Get/set the y-component of the rigid block orientation.

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

Get/set the z-component of the rigid block orientation.

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