packageDefaults
Default settings of the library via constants
Extends from Modelica.Icons.Package (Icon for standard packages).
Information
This package contains constants used as default setting in the library.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| MB.Types.Color | BodyColor | {0, 103, 200} | Default color for body shapes that have mass (light blue) |
| MB.Types.Color | RodColor | {115, 115, 115} | Default color for massless rod shapes (grey) |
| MB.Types.Color | JointColor | {200, 0, 0} | Default color for elementary joints (red) |
| MB.Types.Color | ForceColor | {0, 100, 0} | Default color for force arrow (dark green) |
| MB.Types.Color | TorqueColor | {0, 100, 0} | Default color for torque arrow (dark green) |
| MB.Types.Color | SpringColor | {0, 0, 200} | Default color for a spring (blue) |
| MB.Types.Color | SensorColor | {200, 200, 0} | Default color for sensors (yellow) |
| MB.Types.Color | FrameColor | {85, 85, 200} | Default color for frame axes and labels (blue) |
| MB.Types.Color | WheelColor | {65, 65, 65} | Default color for arrows and double arrows (blue) |
| MB.Types.Color | ArrowColor | {0, 0, 200} | 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 |
Revisions
Developed 2010 at the DLR Institute of System Dynamics and Control