# All BodyModel constants¶

ON
Value
1
OFF
Value
0
_MUSCLES_NONE_
Value
0

Constant to switch off muscles

_MUSCLES_SIMPLE_
Value
1

Constant to use simple muscles

_MUSCLES_3E_HILL_
Value
2

Constant to use 3 element Hill-type muscle

_LEG_MODEL_OFF_
Value
0

Switch off a leg

_LEG_MODEL_TLEM_
Value
1

Switch to use leg model: “TLEM 1”

_LEG_MODEL_TLEM1_
Value
1

Switch to use leg model: “TLEM 1”

_LEG_MODEL_TLEM2_
Value
2

Switch to use leg model: “TLEM 2”

_LEG_MODEL_LEG_
Value
3

Switch to use leg model: “Leg”

_FOOT_MODEL_DEFAULT_
Value
0

Switch for using the default foot model

_FOOT_MODEL_NONE_
Value
1

Switch for using the GM foot model”

_ELLIPSOID_CONTACT_
Value
1

Switch for using ellipsoid contact between scapula and thorax

_MULTIPLE_POINT_CONTACT_
Value
0

Switch for using multiple point contact between scapula and thorax”

_DELTOID_WRAPPING_RAKE_
Value
0

Switch for using pre AMMR 2.2. rake implementation for deltoid wrapping

_DELTOID_WRAPPING_CYLINDERS_
Value
1

Switch for using mulitple cylinder in the deltroid wrapping

_DELTOID_WRAPPING_ELIPSOIDS_
Value
2

Switch for using multiple elipsoids in the deltoid wrapping”

_MORPH_NONE_
Value
0

Constant for no-morphing between the upper and lower bodies.

_MORPH_TRUNK_TO_LEG_
Value
1

Constant for the trunk-to-leg morphing

_MORPH_LEG_TO_TRUNK_
Value
2

Constant for the leg-to-trunk morhping

_PELVIS_DISPLAY_NONE_
Value
0

Constant to switch off pelvis visualization

_PELVIS_DISPLAY_LEGPELVIS_ONLY_
Value
1

Constant to display leg-dependent pevlis only

_PELVIS_DISPLAY_LEGANDTRUNKPELVIS_
Value
2

Constant to display both trunk and leg pelvises

_DISC_STIFFNESS_NONE_
Value
0

Constant to switch off disc spring in the spine

_DISC_STIFFNESS_LINEAR_
Value
1

Constant to switch linear disc spring on in the spine

_DISC_STIFFNESS_NONLINEAR_
Value
2

Constant to switch nonlinear disc spring on in the spine

_RHYTHM_SOFT_
Value
2

Constant to switch kinematic rhythms as soft contraints

_SCALING_NONE_
Value
0

A scaling law to use body part datasets as is without any scaling.

_SCALING_STANDARD_
Value
1

A default scaling law that corresponds to the 50th percentile European male.

_SCALING_UNIFORM_
Value
2

Uniform anthropometric scaling law to be used by the entire model.

_SCALING_LENGTHMASS_
Value
3

Length/mass anthropometric scaling law to be used by the entire model.

_SCALING_LENGTHMASSFAT_
Value
4

Length/mass/fat anthropometric scaling law to be used by the entire model.

_SCALING_UNIFORM_EXTMEASUREMENTS_
Value
5

Uniform anthropometric scaling law with external measurements to be used by the entire model.

_SCALING_LENGTHMASS_EXTMEASUREMENTS_
Value
6

Length/mass anthropometric with external measurements scaling law to be used by the entire model.

_SCALING_LENGTHMASSFAT_EXTMEASUREMENTS_
Value
7

Length/mass/fat anthropometric with external measurements scaling law to be used by the entire model.

_SCALING_LENGTHMASSFAT_MULTIDOFS_
Deprecated
Yes
Value
8

Length/mass/fat anthropometric with for multiple degree of freedom.

_SCALING_XYZ_
Value
9

Scaling using xyz factors for all Segments.

_SCALING_CUSTOM_
Deprecated
Yes
Value
10

Custom anthropometric scaling law for the entire model

_SCALING_USERDEFINED_
Value
10

Don’t use a builtin scaling law. A user-defined law must be specified with BM_SCALING_FILE.

_JOINT_TYPE_USERDEFINED_
Value
0

User-defined joint. This will exclude the joint and which nodes.

_JOINT_TYPE_DEFAULT_
Value
1

Default joint definition.

_JOINT_TYPE_BONY_LANDMARK_
Value
2

Joint definition based on bony landmarks. This will create a joint which resembles what is often used in traditional gait analysis. (E.g. revolute knee joint along the femoral condyles).

_CALIBRATION_TYPE_1PAR_
Value
1

Constant to use 1 parameter muscle tendon calibration

_CALIBRATION_TYPE_2PAR_
Value
2

Constant to use 2 parameter muscle tendon calibration

_CALIBRATION_TYPE_CUSTOM_
Value
0

Use custom calibration. I.e. diables calibration so the user can add their own code.

CONST_MUSCLES_NONE
Deprecated
Yes
Value
0

Constant to switch off muscles

CONST_MUSCLES_SIMPLE
Deprecated
Yes
Value
1

Constant to use simple muscles

CONST_MUSCLES_3E_HILL
Deprecated
Yes
Value
2

Constant to use 3 element Hill-type muscle

CONST_HAND_SIMPLE
Deprecated
Yes
Value
0

Constant to use simplified hand model

CONST_HAND_DETAILED
Deprecated
Yes
Value
1

Constant to use detailed hand model

CONST_LEG_MODEL_OFF
Deprecated
Yes
Value
0

Switch off a leg

CONST_LEG_MODEL_TLEM
Deprecated
Yes
Value
1

Switch to use leg model: “TLEM 1”

CONST_LEG_MODEL_TLEM2
Deprecated
Yes
Value
2

Switch to use leg model: “TLEM 2”

CONST_LEG_MODEL_Leg
Deprecated
Yes
Value
3

Switch to use leg model: “Leg”

CONST_MORPH_NONE
Deprecated
Yes
Value
0

Constant for no-morphing between the upper and lower bodies.

CONST_MORPH_TRUNK_TO_LEG
Deprecated
Yes
Value
1

Constant for the trunk-to-leg morphing

CONST_MORPH_LEG_TO_TRUNK
Deprecated
Yes
Value
2

Constant for the leg-to-trunk morhping

CONST_PELVIS_DISPLAY_NONE
Deprecated
Yes
Value
0

Constant to switch off pelvis visualization

CONST_PELVIS_DISPLAY_LEGPELVIS_ONLY
Deprecated
Yes
Value
1

Constant to display leg-dependent pevlis only

CONST_PELVIS_DISPLAY_LEGANDTRUNKPELVIS
Deprecated
Yes
Value
2

Constant to display both trunk and leg pelvises

CONST_DISC_STIFFNESS_NONE
Deprecated
Yes
Value
0

Constant to switch off disc spring in the spine

CONST_DISC_STIFFNESS_LINEAR
Deprecated
Yes
Value
1

Constant to switch linear disc spring on in the spine

CONST_DISC_STIFFNESS_NONLINEAR
Deprecated
Yes
Value
2

Constant to switch nonlinear disc spring on in the spine

CONST_SCALING_STANDARD
Deprecated
Yes
Value
1

Standard scaling law to be used by the entire model.

CONST_SCALING_UNIFORM
Deprecated
Yes
Value
2

Uniform anthropometric scaling law to be used by the entire model.

CONST_SCALING_LENGTHMASS
Deprecated
Yes
Value
3

Length/mass anthropometric scaling law to be used by the entire model.

CONST_SCALING_LENGTHMASSFAT
Deprecated
Yes
Value
4

Length/mass/fat anthropometric scaling law to be used by the entire model.

CONST_SCALING_UNIFORM_EXTMEASUREMENTS
Deprecated
Yes
Value
5

Uniform anthropometric scaling law with external measurements to be used by the entire model.

CONST_SCALING_LENGTHMASS_EXTMEASUREMENTS
Deprecated
Yes
Value
6

Length/mass anthropometric with external measurements scaling law to be used by the entire model.

CONST_SCALING_LENGTHMASSFAT_EXTMEASUREMENTS
Deprecated
Yes
Value
7

Length/mass/fat anthropometric with external measurements scaling law to be used by the entire model.

CONST_SCALING_LENGTHMASSFAT_MULTIDOFS
Deprecated
Yes
Value
8

Length/mass/fat anthropometric with for multiple degree of freedom.

CONST_SCALING_CUSTOM
Deprecated
Yes
Value
10

Custom anthropometric scaling law for the entire model