rblock.template.moi.prin

Syntax

Vector Access

v = rblock.template.moi.prin(p<,i>)

Get the rigid block template principal moment of inertia.

Returns:

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

Arguments:

p - rigid block template pointer

i - optional vector component

Component Access

f = rblock.template.moi.prin.x(p)

Get the x-component of the rigid block template principal moment of inertia.

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

Get the y-component of the rigid block template principal moment of inertia.

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

Get the z-component of the rigid block template principal moment of inertia.

Returns:f - z-component of the rigid block template principal moment of inertia vector
Arguments:p - rigid block template pointer