Body
Body component with mass and inertia
Library
PlanarMechanics/Parts
Description
Model Body is an ideal unlimited small point with mass and inertia.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_animate | animate | = true, if animation shall be enabled | Scalar | true |
mo_m | m | Mass of the body | Scalar | |
mo_I | I | Inertia of the body with respect to the origin of frame_a along the z-axis of frame_a | Scalar | |
mo_enableGravity | enableGravity | = true, if gravity effects should be taken into account | Scalar | true |
mo_r | r | r | Structure | |
mo_r/fixed | fixed | Cell of vectors of size 2 | true | |
mo_r/start | start | Cell of vectors of size 2 | ||
mo_v | v | v | Structure | |
mo_v/fixed | fixed | Cell of vectors of size 2 | true | |
mo_v/start | start | Cell of vectors of size 2 | ||
mo_a | a | a | Structure | |
mo_a/fixed | fixed | Cell of vectors of size 2 | true | |
mo_a/start | start | Cell of vectors of size 2 | ||
mo_phi | phi | phi | Structure | |
mo_phi/fixed | fixed | Cell of scalars | true | |
mo_phi/start | start | Cell of scalars | ||
mo_w | w | w | Structure | |
mo_w/fixed | fixed | Cell of scalars | true | |
mo_w/start | start | Cell of scalars | ||
mo_z | z | z | Structure | |
mo_z/fixed | fixed | Cell of scalars | true | |
mo_z/start | start | Cell of scalars |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_stateSelect | stateSelect | Priority to use phi, w and a as states | Structure | |
mo_stateSelect/choice1 | StateSelect.never | Number | 0 | |
mo_stateSelect/choice2 | StateSelect.avoid | Number | 0 | |
mo_stateSelect/choice3 | StateSelect.default | Number | 0 | |
mo_stateSelect/choice4 | StateSelect.prefer | Number | 0 | |
mo_stateSelect/choice5 | StateSelect.always | Number | 0 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_zPosition | zPosition | Position z of the body | Scalar | |
mo_sphereDiameter | sphereDiameter | Diameter of sphere | Scalar | |
mo_sphereColor | sphereColor | Color of sphere | Vector of size 3 | |
mo_specularCoefficient | specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'f' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_a | implicit | input | 1 |