To begin the tutorial, start ProCalc and load a static trial containing the markers illustrated in About the Conventional Gait Model 2.3.
You now need to create two new schemes:
- Input parameters scheme
- Variables scheme
To create the schemes, on the relevant tabs (Input Parameters and Variables), click the Create button
to the right of the Scheme drop-down menu and enter an appropriate name for the scheme, eg, CGM2.3.CGM2.1 (on which 2.3 is based) introduces the hip model – it is based on a paper by Hara et al (2016) that proposes a simple regression equation, using the Leg Length as the only variable:
Define the input parameters
First, you need to define the subject parameter named Leg Length. If you used the standard CGM2 VST file when you defined your subject in Nexus, as in the supplied tutorial files, add the following parameters. (If you used a different VST, ensure you have replaced any hinge joints with ball joints, as described in Updating the joints in the VST.) :
- On the Input Parameter tab, create or select the CGM2.3 scheme.
- To add a parameter, click the Edit button .
- Click the Add button in the bottom left corner to add another parameter.
- From the Subject Measurements drop-down menu at the bottom, select LLegLength, then click Use.
- Ensure that the following properties are set:
- Quantity: Length
- Unit: mm
- Repeat steps 3-5, but this time with RLegLength.
- With the two parameters in the list, click the Save button at the top to save the scheme.
Add hip model variables to the variables scheme
To define the hip model variables, complete the following steps:
Define the hip joint center regression equations
To define the hip joint center regression equations:
- On the Variables tab, create or select the CGM2.3 scheme.
- Click the Add button to add a new variable.
- Name the variable LHJCx.
- Select function Arithmetic and then Add: A + B.
- For A, choose type Length and then LLegLength.
- For B, choose type Length and then 1mm.
- In the Factor column for A, enter -0.063.
- In the Factor column for B, enter 11.
The calculated value is displayed in the log. - Repeat steps 3-8 for LHJCy and LHJCz, making sure that you enter the correct factors according to the above equations.
- Repeat steps 3-8 for RHJCx, RHJCy and RHJCz. However, make sure that you negate the factors for RHJCy (Y is the mediolateral direction, so will be the opposite for left and right).
To generate a right-side variable that is equivalent to a left-side variable that you have defined (or vice versa), use the Copy button and then the Mirror button .
At the end of this step, six variables are defined, as follows:
Define the reference coordinate system for the hip joint center
The reference coordinate system will be the Pelvis coordinate system. You define the Pelvis coordinate system using the mid-point between the ASIS points as the origin, the RASI-LASI line as the main defining (Y) axis, and the mid-point between LPSI and RPSI to define the pelvic plane:
- Define a new point named PelvisFront with:
- Function: Point then Halfway between A and B
- A – Type: Point, Input Variable: LASI
- B – Type: Point, Input Variable: RASI
- Similarly, define a new point named PelvisBack halfway between LPSI and RPSI.
- Create a new point named PelvisOrigin with:
- Function: Point and Distance A from point B towards Point C
- A – Type: Length, Input Variable: 1mm, Fact: A factor that corresponds to half the marker diameter plus the thickness of the marker's plastic base. For example, if you use 14 mm markers with a plastic base that is 1 mm thick, specify a factor of 8. The idea is to offset the pelvic origin posteriorly to account for the diameter of the LASI/RASI markers.
- Create the Pelvis segment, which must be named Root (This is because the segment is named Root in the VSK file that we want to update, and the names must match.) To do this, you must create the two vectors that are needed to define the segment, the mediolateral axis and the anterior-posterior one. First, add a new variable named PelvisML with:
- Function: Vector then From point A to point B
- A – Type: Point, Input Variable: RASI
- B – Type: Point, Input Variable: LASI (the vector must point towards the left)
- Add a similar variable PelvisAP, but with A: PelvisFront and B: PelvisBack.
- Add a new variable named Root with:
- Function: Segment and Origin A, Y-Axis=B, Z-Axis=B x C
- A: PelvisOrigin,
- B: PelvisML
- C: PelvisAP
Because the cross-product of the ML and AP vectors points up, the pelvis segment is now correctly defined, with the x-axis pointing forward, the y-axis pointing left and the z-axis up.
Define the hip joint centers
- Add a new variable named LHJC with:
- Function: Point and {A, B, C} in Segment D's local coordinates
- A, B and C: LHJCx, LHJCy and LHJCz
- D: Root
- Repeat 1-2 for a new variable named RHJC.
- Make sure that the LHJC and RHJC are displayed in reasonable positions in the 3D workspace.
The following image shows the LHJC relative to the pelvic origin.