modelFixedShapeVarAnimation

Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

Extends from Modelica.Mechanics.MultiBody.Interfaces.PartialVisualizer (Base model for visualizers (has a frame_a on the left side + outer world + assert to guarantee that the component is connected)).

Information

<!DOCTYPE html> <HTML><p>This model is a modification of <a href="Modelica.Mechanics.MultiBody.Visualizers.FixedShape.html">Modelica.Mechanics.MultiBody.Visualizers.FixedShape</a>. The animation can be disabled via the boolean input. Therefore, the dimensions of the animation are set to 0.
</p></HTML>

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled
if animation = true
Types.ShapeTypeshapeType"box"Type of shape

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialVisualizer)Coordinate system in which visualization data is resolved
Modelica.Blocks.Interfaces.BooleanInputdisableAnimationConnector of Boolean input signal

Components

TypeNameDefaultDescription
SI.Position[3]r_shape{0, 0, 0}Vector from frame_a to shape origin, resolved in frame_a
Types.AxislengthDirection{1, 0, 0}Vector in length direction of shape, resolved in frame_a
Types.AxiswidthDirection{0, 1, 0}Vector in width direction of shape, resolved in frame_a
SI.DistancelengthLength of shape
SI.DistancewidthWidth of shape
SI.DistanceheightHeight of shape
Modelica.Mechanics.MultiBody.Types.Colorcolor{0, 128, 255}Color of shape
Types.ShapeExtraextra0.0Additional data for cylinder, cone, pipe, gearwheel and spring
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)