WOLFRAM SYSTEM MODELER

Translation

Translation of frame_b with respect to frame_a

Wolfram Language

In[1]:=
SystemModel["DocumentationExamples.Modeling.BallAndBeamClosedLoopSystem.BallAndBeam.Translation"]
Out[1]:=

Information

Component for a translation of frame_b with respect to frame_a, i.e., the relationship between connectors frame_a and frame_b is given by r and frame_a is always parallel to frame_b.

By default, this component is visualized by a cylinder connecting frame_a and frame_b. 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.

Parameters (5)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

shapeType

Value: "cylinder"

Type: ShapeType

Description: Type of shape

r_shape

Value: {0, 0, 0}

Type: Position[3] (m)

Description: Vector from frame_a to shape origin, resolved in frame_a

widthDirection

Value: {0, 1, 0}

Type: Axis

Description: Vector in width direction of shape, resolved in frame_a

extra

Value: 0

Type: ShapeExtra

Description: Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape)

Inputs (3)

r

Type: Position[3] (m)

Description: Vector from frame_a to frame_b resolved in frame_a

color

Default Value: Modelica.Mechanics.MultiBody.Types.Defaults.RodColor

Type: Color

Description: Color of shape

specularCoefficient

Default Value: world.defaultSpecularCoefficient

Type: SpecularCoefficient

Description: Reflection of ambient light (= 0: light is completely absorbed)

Connectors (2)

frame_a

Type: Frame_a

Description: Coordinate system fixed to the component with one cut-force and cut-torque

frame_b

Type: Frame_b

Description: Coordinate system fixed to the component with one cut-force and cut-torque

Components (2)

world

Type: World

Description: World coordinate system + gravity field + default animation definition

shape

Type: Shape

Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer)

Used in Examples (1)

BallAndBeam

DocumentationExamples.Modeling.BallAndBeamClosedLoopSystem

Simple model of a ball on a beam, rolling without slipping