The manual scale factors can be set using the <ScaleSet> and </ScaleSet> tags. <ScaleSet> is a set consisting of <Scale> tags, each of which gives manual scale factors as described below. An example of a manual scaling file is shown below:
<scales> Tag
Each <Scale> tag specifies the x-y-z scale factors in its <scales> property. A scale factor of 1.0 means that no scaling occurs. In the example above, all of the scales represented uniform scaling (equal x, y, and z scale factors). Note: the scale factors below were computed using a utility that computed experimental segment lengths using a functional joint center approach. This utility is not yet part of the standard OpenSim distribution.
<segment> Tag
The <segment> tag is used to specify which segment will be scaled using those factors.
<apply> Tag
The <apply> property can be used to disable certain scales. <apply> can be set to either true or false. By default <apply> is set to true, so it can generally be omitted.
Example: XML markup for manual scaling
<ScaleSet name="gait2354_Scale"> <objects> <Scale name=""> <scales> 1.14724 1.14724 1.14724 </scales> <segment> femur_r </segment> <apply> true </apply> </Scale> <Scale name=""> <scales> 1.14724 1.14724 1.14724 </scales> <segment> femur_l </segment> <apply> true </apply> </Scale> <Scale name=""> <scales> 0.988523 0.988523 0.988523 </scales> <segment> tibia_r </segment> <apply> true </apply> </Scale> <Scale name=""> <scales> 0.988523 0.988523 0.988523 </scales> <segment> tibia_l </segment> <apply> true </apply> </Scale> </objects> </ScaleSet>