modelFixedTranslation

Fixed translation of frame_b with respect to frame_a

Information

Component for a fixed translation of frame_b with respect to frame_a, i.e., the relationship between connectors frame_a and frame_b remains constant and frame_a is always parallel to frame_b.

By default, this component is visualized by a cylinder connecting frame_a and frame_b, as shown in the figure below. Note, that the two visualized frames are not part of the component animation and that the animation may be switched off via parameter animation = false.

Parts.FixedTranslation

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled
SI.Position[3]rVector from frame_a to frame_b resolved in frame_a
Animation › if animation = true
Types.ShapeTypeshapeType"cylinder"Type of shape
SI.Position[3]r_shape{0, 0, 0}Vector from frame_a to shape origin, resolved in frame_a
Types.AxislengthDirectionto_unit1(r - r_shape)Vector in length direction of shape, resolved in frame_a
Types.AxiswidthDirection{0, 1, 0}Vector in width direction of shape, resolved in frame_a
SI.LengthlengthModelica.Math.Vectors.length(r - r_shape)Length of shape
SI.Distancewidthlength/world.defaultWidthFractionWidth of shape
SI.DistanceheightwidthHeight of shape
Types.ShapeExtraextra0.0Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape)

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_aCoordinate system fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_bCoordinate system fixed to the component with one cut-force and cut-torque

Components

TypeNameDefaultDescription
Types.ColorcolorModelica.Mechanics.MultiBody.Types.Defaults.RodColorColor of shape
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)