Rigid body with box shape. The mass properties of the body are computed
from the box data. Optionally, the box may be hollow.
The (outer) box shape is automatically used in animation.
Parameter vectors are defined with respect to frame_a in [m].
Parameters:
r[3] : Position vector from the origin of frame_a to the
origin of frame_b.
r0[3] : Position vector from frame_a to the mid-point of the left
box plane.
LengthDirection[3]: Unit vector in direction of length (will be normalized).
WidthDirection[3] : Unit vector in direction of width (will be normalized).
Length : Length of box in [m].
Width : Width of box in [m].
Height : Height of box in direction of a vector which is
orthogonal to LengthDirection and WidthDirection in [m].
InnerWidth : Width of inner box surface in [m] (0 <= InnerWidth < Width).
InnerHeight: Height of inner box surface in [m] (0 <= InnerHeight < Height).
rho : Density of material in [g/cm^3], e.g.
steel: 7.7 .. 7.9
wood : 0.4 .. 0.8
Material[4]: = {r, g, b, specular}.
Color and specular coefficient of the box.
[r,g,b] affects the color of diffuse and ambient reflected
light. Specular is a coefficient defining white specular
reflection. What color that is reflected also depends on the
color of the light sources. Note, r g, b and specular are
given in the range 0-1. Specular=1 gives a metallic appearance.
Generated at 2024-12-21T19:25:56Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos