WOLFRAM SYSTEM MODELER
FixedTranslationFixed translation of frame_b with respect to frame_a |
SystemModel["DocumentationExamples.Simulation.Catapult.Components.FixedTranslation"]
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.
animation |
Value: true Type: Boolean Description: = true, if animation shall be enabled |
---|---|
r |
Value: Type: Position[3] (m) Description: Vector from frame_a to frame_b resolved in frame_a |
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 |
lengthDirection |
Value: to_unit1(r - r_shape) Type: Axis Description: Vector in length direction of shape, resolved in frame_a |
widthDirection |
Value: {0, 1, 0} Type: Axis Description: Vector in width direction of shape, resolved in frame_a |
length |
Value: Modelica.Math.Vectors.length(r - r_shape) Type: Length (m) Description: Length of shape |
width |
Value: length / world.defaultWidthFraction Type: Distance (m) Description: Width of shape |
height |
Value: width Type: Distance (m) Description: Height of shape |
extra |
Value: 0.0 Type: ShapeExtra Description: Additional parameter depending on shapeType (see docu of Visualizers.Advanced.Shape) |
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) |
DocumentationExamples.Simulation.Catapult.Components Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states) |