|
a |
|
b/Application/Examples/StandingModelScalingDisplay/Model/TrunkDrivers.any |
|
|
1 |
|
|
|
2 |
|
|
|
3 |
//Neck driver |
|
|
4 |
AnyKinEqSimpleDriver NeckJntDriver = { |
|
|
5 |
AnyKinMeasure& lb = ...BodyModel.Interface.Trunk.SkullThoraxLateralBending; |
|
|
6 |
AnyKinMeasure& ar = ...BodyModel.Interface.Trunk.SkullThoraxRotation; |
|
|
7 |
AnyKinMeasure& fe = ...BodyModel.Interface.Trunk.SkullThoraxFlexion; |
|
|
8 |
DriverPos = pi/180*{.JntPos.NeckLateralBending, .JntPos.NeckRotation, -1*.JntPos.NeckExtension}; |
|
|
9 |
DriverVel = pi/180*{.JntVel.NeckLateralBending, .JntVel.NeckRotation, -1*.JntVel.NeckExtension}; |
|
|
10 |
Reaction.Type = {Off, Off, Off}; |
|
|
11 |
}; |
|
|
12 |
|
|
|
13 |
//Thorax pelvis rotation driver |
|
|
14 |
AnyKinEqSimpleDriver PostureDriver ={ |
|
|
15 |
AnyKinMeasure& Ref2 = ...BodyModel.Interface.Trunk.PelvisThoraxLateralBending; |
|
|
16 |
AnyKinMeasure& Ref3 = ...BodyModel.Interface.Trunk.PelvisThoraxRotation; |
|
|
17 |
AnyKinMeasure& Ref1 = ...BodyModel.Interface.Trunk.PelvisThoraxExtension; |
|
|
18 |
|
|
|
19 |
DriverPos = pi/180*{ |
|
|
20 |
.JntPos.PelvisThoraxLateralBending, |
|
|
21 |
.JntPos.PelvisThoraxRotation, |
|
|
22 |
.JntPos.PelvisThoraxExtension |
|
|
23 |
}; |
|
|
24 |
DriverVel = pi/180*{ |
|
|
25 |
.JntVel.PelvisThoraxLateralBending, |
|
|
26 |
.JntVel.PelvisThoraxRotation, |
|
|
27 |
.JntVel.PelvisThoraxExtension |
|
|
28 |
}; |
|
|
29 |
Reaction.Type = {Off,Off,Off}; |
|
|
30 |
}; |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
MannequinLoads = { |
|
|
34 |
AnyForce3D TopVertebra = { |
|
|
35 |
AnyRefNode &ApplPoint = .hm.Trunk.SegmentsCervicalSpine.C1Seg.C1C0JntNode; |
|
|
36 |
F = .mql.TopVertebra; |
|
|
37 |
}; |
|
|
38 |
}; |