
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
| Type | Name | Default | Description |
| Boolean | animation | true | = true, if animation shall be enabled |
| if animation = true |
| Types.ShapeType | shapeType | "box" | Type of shape |
Components
| Type | Name | Default | Description |
| SI.Position[3] | r_shape | {0, 0, 0} | Vector from frame_a to shape origin, resolved in frame_a |
| Types.Axis | lengthDirection | {1, 0, 0} | Vector in length direction of shape, resolved in frame_a |
| Types.Axis | widthDirection | {0, 1, 0} | Vector in width direction of shape, resolved in frame_a |
| SI.Distance | length | | Length of shape |
| SI.Distance | width | | Width of shape |
| SI.Distance | height | | Height of shape |
| Modelica.Mechanics.MultiBody.Types.Color | color | {0, 128, 255} | Color of shape |
| Types.SpecularCoefficient | specularCoefficient | world.defaultSpecularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |