rblock.moi.prin.real

Syntax

Vector Access

v = rblock.moi.prin.real(b<,i>)
rblock.moi.prin.real(b<,i>) = v

Get/set the rigid block real principal moment of inertia.

Note

When modified, no other rigid block attributes are changed. The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see rblock.moi.fix).

Returns:

v - rigid block real principal moment of inertia vector or component

Accepts:

v - rigid block real principal moment of inertia vector or component

Arguments:

b - rigid block pointer

i - optional vector component

Component Access

f = rblock.moi.prin.real.x(b)
rblock.moi.prin.real.x(b) = f

Get/set the x-component of the rigid block real principal moment of inertia.

Note

When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see rblock.moi.fix).

Returns:f - x-component of the rigid block real principal moment of inertia vector
Accepts:f - x-component of the rigid block real principal moment of inertia vector
Arguments:b - rigid block pointer
f = rblock.moi.prin.real.y(b)
rblock.moi.prin.real.y(b) = f

Get/set the y-component of the rigid block real principal moment of inertia.

Note

When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see rblock.moi.fix).

Returns:f - y-component of the rigid block real principal moment of inertia vector
Accepts:f - y-component of the rigid block real principal moment of inertia vector
Arguments:b - rigid block pointer
f = rblock.moi.prin.real.z(b) (3D ONLY)
rblock.moi.prin.real.z(b) = f (3D ONLY)

Get/set the z-component of the rigid block real principal moment of inertia.

Note

When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see rblock.moi.fix).

Returns:f - z-component of the rigid block real principal moment of inertia vector
Accepts:f - z-component of the rigid block real principal moment of inertia vector
Arguments:b - rigid block pointer