packageDefaults
Default settings of the MultiBody library via constants
Extends from Modelica.Icons.Package (Icon for standard packages).
Information
This package contains constants used as default setting in the MultiBody library.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Color | BodyColor | {0, 128, 255} | Default color for body shapes that have mass (light blue) |
| Types.Color | RodColor | {155, 155, 155} | Default color for massless rod shapes (grey) |
| Types.Color | JointColor | {255, 0, 0} | Default color for elementary joints (red) |
| Types.Color | ForceColor | {0, 128, 0} | Default color for force arrow (dark green) |
| Types.Color | TorqueColor | {0, 128, 0} | Default color for torque arrow (dark green) |
| Types.Color | SpringColor | {0, 0, 255} | Default color for a spring (blue) |
| Types.Color | SensorColor | {255, 255, 0} | Default color for sensors (yellow) |
| Types.Color | FrameColor | {0, 0, 0} | Default color for frame axes and labels (black) |
| Types.Color | ArrowColor | {0, 0, 255} | Default color for arrows and double arrows (blue) |
| Real | FrameHeadLengthFraction | 5.0 | Frame arrow head length / arrow diameter |
| Real | FrameHeadWidthFraction | 3.0 | Frame arrow head width / arrow diameter |
| Real | FrameLabelHeightFraction | 3.0 | Height of frame label / arrow diameter |
| Real | ArrowHeadLengthFraction | 4.0 | Arrow head length / arrow diameter |
| Real | ArrowHeadWidthFraction | 3.0 | Arrow head width / arrow diameter |
| Real | BodyCylinderDiameterFraction | 3 | Default for body cylinder diameter as a fraction of body sphere diameter |
| Real | JointRodDiameterFraction | 2 | Default for rod diameter as a fraction of joint sphere diameter attached to rod |