ModelicaServices.Animation

Models and functions for 3-dim. animation

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
ModelicaServices.Animation.Shape Shape Different visual shapes with variable size; all data have to be set as modifiers (see info layer)
ModelicaServices.Animation.Surface Surface Animation of a moveable, parameterized surface; the surface characteristic is provided by a function

ModelicaServices.Animation.Shape ModelicaServices.Animation.Shape

Different visual shapes with variable size; all data have to be set as modifiers (see info layer)

Information

The interface of this model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape.

Extends from Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialShape (Interface for 3D animation of elementary shapes).

Parameters

NameDescription
shapeTypeType of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring, <external shape>)
ROrientation 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]
lengthLength of visual object [m]
widthWidth of visual object [m]
heightHeight of visual object [m]
extraAdditional size data for some of the shape types
color[3]Color of shape
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)

ModelicaServices.Animation.Surface

Animation of a moveable, parameterized surface; the surface characteristic is provided by a function

Information

The interface of this model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Surface.
The interface of this model is defined at Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialSurface.

Extends from Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialSurface (Interface for 3D animation of surfaces).

Parameters

NameDescription
Surface frame
ROrientation 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
nuNumber of points in u-Dimension
nvNumber of points in v-Dimension
replaceable function surfaceCharacteristicFunction 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
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
transparencyTransparency of shape: 0 (= opaque) ... 1 (= fully transparent)
Automatically generated Thu Dec 19 17:19:40 2019.