Standard package icon.
Extends from Modelica.Icons.Package
(Icon for standard packages).
Name | Description |
---|---|
PartialShape | Interface for 3D animation of elementary shapes |
PartialSurface | Interface for 3D animation of surfaces |
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Shape.
Type | Name | Default | Description |
---|---|---|---|
ShapeType | shapeType | "box" | Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring, <external shape>) |
Type | Name | Default | Description |
---|---|---|---|
Orientation | R | Frames.nullRotation() | Orientation object to rotate the world frame into the object frame |
Position | r[3] | {0, 0, 0} | Position vector from origin of world frame to origin of object frame, resolved in world frame |
Position | r_shape[3] | {0, 0, 0} | Position vector from origin of object frame to shape origin, resolved in object frame |
Real | lengthDirection[3] | {1, 0, 0} | Vector in length direction, resolved in object frame |
Real | widthDirection[3] | {0, 1, 0} | Vector in width direction, resolved in object frame |
Length | length | 0 | Length of visual object |
Length | width | 0 | Width of visual object |
Length | height | 0 | Height of visual object |
ShapeExtra | extra | 0 | Additional size data for some of the shape types |
Real | color[3] | {255, 0, 0} | Color of shape |
SpecularCoefficient | specularCoefficient | 0.7 | Reflection of ambient light (= 0: light is completely absorbed) |
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Surface.
Type | Name | Default | Description |
---|---|---|---|
Integer | nu | 2 | Number of points in u-Dimension |
Integer | nv | 2 | Number of points in v-Dimension |
Boolean | wireframe | false | = true: 3D model will be displayed without faces |
Boolean | multiColoredSurface | false | = true: Color is defined for each surface point |
Type | Name | Default | Description |
---|---|---|---|
Orientation | R | Frames.nullRotation() | Orientation object to rotate the world frame into the surface frame |
Position | r_0[3] | {0, 0, 0} | Position vector from origin of world frame to origin of surface frame, resolved in world frame |
Real | color[3] | {255, 0, 0} | Color of surface |
SpecularCoefficient | specularCoefficient | 0.7 | Reflection of ambient light (= 0: light is completely absorbed) |
Real | transparency | 0 | Transparency of shape: 0 (= opaque) ... 1 (= fully transparent) |