Body

Body component with mass and inertia

    Body

Library

PlanarMechanics/Parts

Description

Model Body is an ideal unlimited small point with mass and inertia.

Parameters

Body_0

NameLabelDescriptionData TypeValid Values

mo_animate

animate

= true, if animation shall be enabled

Scalar

true
false

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
false

mo_r

r

r

Structure

mo_r/fixed

fixed

Cell of vectors of size 2

true
false

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
false

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
false

mo_a/start

start

Cell of vectors of size 2

mo_phi

phi

phi

Structure

mo_phi/fixed

fixed

Cell of scalars

true
false

mo_phi/start

start

Cell of scalars

mo_w

w

w

Structure

mo_w/fixed

fixed

Cell of scalars

true
false

mo_w/start

start

Cell of scalars

mo_z

z

z

Structure

mo_z/fixed

fixed

Cell of scalars

true
false

mo_z/start

start

Cell of scalars

Body_1

NameLabelDescriptionData TypeValid Values

mo_stateSelect

stateSelect

Priority to use phi, w and a as states

Structure

mo_stateSelect/choice1

StateSelect.never

Number

0
1

mo_stateSelect/choice2

StateSelect.avoid

Number

0
1

mo_stateSelect/choice3

StateSelect.default

Number

0
1

mo_stateSelect/choice4

StateSelect.prefer

Number

0
1

mo_stateSelect/choice5

StateSelect.always

Number

0
1

Body_2

NameLabelDescriptionData TypeValid 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

Body_3

NameLabelDescriptionData TypeValid 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'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

input

1

See Also