WOLFRAM SYSTEMMODELER

Defaults

Default settings of the MultiBody library via constants

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Mechanics.MultiBody.Types.Defaults"]
Out[1]:=

Package Constants (16)

BodyColor

Value: {0, 128, 255}

Type: Color

Description: Default color for body shapes that have mass (light blue)

RodColor

Value: {155, 155, 155}

Type: Color

Description: Default color for massless rod shapes (grey)

JointColor

Value: {255, 0, 0}

Type: Color

Description: Default color for elementary joints (red)

ForceColor

Value: {0, 128, 0}

Type: Color

Description: Default color for force arrow (dark green)

TorqueColor

Value: {0, 128, 0}

Type: Color

Description: Default color for torque arrow (dark green)

SpringColor

Value: {0, 0, 255}

Type: Color

Description: Default color for a spring (blue)

SensorColor

Value: {255, 255, 0}

Type: Color

Description: Default color for sensors (yellow)

FrameColor

Value: {0, 0, 0}

Type: Color

Description: Default color for frame axes and labels (black)

ArrowColor

Value: {0, 0, 255}

Type: Color

Description: Default color for arrows and double arrows (blue)

FrameHeadLengthFraction

Value: 5.0

Type: Real

Description: Frame arrow head length / arrow diameter

FrameHeadWidthFraction

Value: 3.0

Type: Real

Description: Frame arrow head width / arrow diameter

FrameLabelHeightFraction

Value: 3.0

Type: Real

Description: Height of frame label / arrow diameter

ArrowHeadLengthFraction

Value: 4.0

Type: Real

Description: Arrow head length / arrow diameter

ArrowHeadWidthFraction

Value: 3.0

Type: Real

Description: Arrow head width / arrow diameter

BodyCylinderDiameterFraction

Value: 3

Type: Diameter (m)

Description: Default for body cylinder diameter as a fraction of body sphere diameter

JointRodDiameterFraction

Value: 2

Type: Real

Description: Default for rod diameter as a fraction of joint sphere diameter attached to rod

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This package contains constants used as default setting in the MultiBody library.