modelTwoConnectorShapes

Partial base class containing two frames and cylinder shapes at these frames

Extends from PlanarMechanics.Interfaces.PartialTwoFrames (Partial model with two frames).

Information

This partial base class contains two frames and optionally enables to visualize a cylinder at place of each of these frames. This class should be extended to create a proper model, see e.g. Spring model.

Parameters

TypeNameDefaultDescription
Animation
BooleananimatetrueEnable animation
Animation › if animation = true
SI.LengthzPositionplanarWorld.defaultZPositionPosition z of cylinder representing the fixed translation
Animation › Connectors (if animation = true)
BooleananimateConnectorstrue=true, if connectors a and b should be animated as cylinders
SI.DiameterdiameterConnector_aplanarWorld.defaultJointWidthDiameter of connector at frame_a
SI.DiameterdiameterConnector_bplanarWorld.defaultJointWidthDiameter of connector at frame_b

Connectors

TypeNameDefaultDescription
Frame_aframe_a (from PartialTwoFrames)Coordinate system fixed to the component with one cut-force and cut-torque
Frame_bframe_b (from PartialTwoFrames)Coordinate system fixed to the component with one cut-force and cut-torque

Components

TypeNameDefaultDescription
MB.Types.SpecularCoefficientspecularCoefficientplanarWorld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
MB.Types.ColorcolorConnector_aTypes.Defaults.RodColorColor of connector at frame_a
MB.Types.ColorcolorConnector_bTypes.Defaults.RodColorColor of connector at frame_a

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control