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
| Type | Name | Default | Description |
|---|---|---|---|
| Animation | |||
| Boolean | animate | true | Enable animation |
| Animation › if animation = true | |||
| SI.Length | zPosition | planarWorld.defaultZPosition | Position z of cylinder representing the fixed translation |
| Animation › Connectors (if animation = true) | |||
| Boolean | animateConnectors | true | =true, if connectors a and b should be animated as cylinders |
| SI.Diameter | diameterConnector_a | planarWorld.defaultJointWidth | Diameter of connector at frame_a |
| SI.Diameter | diameterConnector_b | planarWorld.defaultJointWidth | Diameter of connector at frame_b |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Frame_a | frame_a (from PartialTwoFrames) | Coordinate system fixed to the component with one cut-force and cut-torque | |
| Frame_b | frame_b (from PartialTwoFrames) | Coordinate system fixed to the component with one cut-force and cut-torque |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MB.Types.SpecularCoefficient | specularCoefficient | planarWorld.defaultSpecularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
| MB.Types.Color | colorConnector_a | Types.Defaults.RodColor | Color of connector at frame_a |
| MB.Types.Color | colorConnector_b | Types.Defaults.RodColor | Color of connector at frame_a |
Revisions
Developed 2010 at the DLR Institute of System Dynamics and Control