Link
General
This class enables the creation of a link
element by selecting one of the predefine components from Multibody
library: BodyBox
, BodyCylinder
or BodyShape
.
Implementation
IF statements allow the selection of one kind of link from
the Multibody
library.
Replaceable statement was intended at the beginning but it
did not work well.
Notes
- The advantage of using this component is that if one selects
for example box or cylinder it is necessary only to input the
dimensions length, width and heigth or length and diameter because
the density and values of mass and inertia are automatically
calculate.
- In the other case (bodyshape), the user must input the
directory of a 3d model for visualization (it has been tested with
modelica3d library but it is yet under development) and the values
of mass, vector from frame_a to frame_b, vector from frame_a to
center of mass and the inertia tensor.
- At the moment, not all the parameters of the original elements
(BodyShape, BodyBox, BodyCylinder) are utilized. This could be a
limitation for the user.
Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos