Models and functions for 3-dim. animation
Extends from Modelica.Icons.Package (Icon for standard packages).
| Name | Description |
|---|---|
| Interface for 3D animation of elementary shapes | |
| Interface for 3D animation of a vector quantity (force, torque etc) | |
| Interface for 3D animation of surfaces |
Interface for 3D animation of elementary shapes
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape.
| Name | Description |
|---|---|
| shapeType | Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring, <external shape>) |
| R | Orientation object to rotate the world frame into the object frame |
| r[3] | Position vector from origin of world frame to origin of object frame, resolved in world frame [m] |
| r_shape[3] | Position vector from origin of object frame to shape origin, resolved in object frame [m] |
| lengthDirection[3] | Vector in length direction, resolved in object frame [1] |
| widthDirection[3] | Vector in width direction, resolved in object frame [1] |
| length | Length of visual object [m] |
| width | Width of visual object [m] |
| height | Height of visual object [m] |
| extra | Additional size data for some of the shape types |
| color[3] | Color of shape |
| specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
Interface for 3D animation of a vector quantity (force, torque etc)
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Vector.
| Name | Description |
|---|---|
| R | Orientation object to rotate the world frame into the vector frame |
| r[3] | Position vector from origin of world frame to origin of vector frame, resolved in world frame [m] |
| coordinates[3] | Coordinates of the vector resolved in vector frame |
| color | Color of vector |
| specularCoefficient | Material property describing the reflecting of ambient light (= 0 means, that light is completely absorbed) |
| quantity | Quantity of the coordinates |
| headAtOrigin | = true, if the vector is pointing towards the origin of vector frame |
| twoHeadedArrow | = true, if the arrow has two heads after each other (pointing in the same direction) |
Interface for 3D animation of surfaces
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Surface.
| Name | Description |
|---|---|
| Surface frame | |
| R | Orientation object to rotate the world frame into the surface frame |
| r_0[3] | Position vector from origin of world frame to origin of surface frame, resolved in world frame [m] |
| Surface properties | |
| nu | Number of points in u-Dimension |
| nv | Number of points in v-Dimension |
| replaceable function surfaceCharacteristic | Function defining the surface characteristic |
| Material properties | |
| wireframe | = true: 3D model will be displayed without faces |
| multiColoredSurface | = true: Color is defined for each surface point |
| color[3] | Color of surface |
| specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
| transparency | Transparency of shape: 0 (= opaque) ... 1 (= fully transparent) |
| Name | Description |
|---|---|
| Surface properties | |
| replaceable function surfaceCharacteristic | Function defining the surface characteristic |