PartialShapeInterface for 3D animation of elementary shapes |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape.
shapeType |
Value: "box" Type: ShapeType Description: Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring, |
---|
R |
Default Value: Frames.nullRotation() Type: Orientation Description: Orientation object to rotate the world frame into the object frame |
---|---|
r |
Default Value: {0, 0, 0} Type: Position[3] (m) Description: Position vector from origin of world frame to origin of object frame, resolved in world frame |
r_shape |
Default Value: {0, 0, 0} Type: Position[3] (m) Description: Position vector from origin of object frame to shape origin, resolved in object frame |
lengthDirection |
Default Value: {1, 0, 0} Type: Real[3] Description: Vector in length direction, resolved in object frame |
widthDirection |
Default Value: {0, 1, 0} Type: Real[3] Description: Vector in width direction, resolved in object frame |
length |
Default Value: 0 Type: Length (m) Description: Length of visual object |
width |
Default Value: 0 Type: Length (m) Description: Width of visual object |
height |
Default Value: 0 Type: Length (m) Description: Height of visual object |
extra |
Default Value: 0.0 Type: ShapeExtra Description: Additional size data for some of the shape types |
color |
Default Value: {255, 0, 0} Type: Real[3] Description: Color of shape |
specularCoefficient |
Default Value: 0.7 Type: SpecularCoefficient Description: Reflection of ambient light (= 0: light is completely absorbed) |
R |
Type: Orientation Description: Orientation object to rotate the world frame into the object frame |
---|