Switch to unified view

a b/Body/Beta/AAUCow/Joints.any
1
AnyFolder Joints = {
2
  
3
      
4
      AnySphericalJoint ShoulderJoint = 
5
      {
6
        AnyRefFrame &Scapula = Main.Forelimb.Segs.Scapula.ShoulderNode;
7
        AnyRefFrame &Humerus = Main.Forelimb.Segs.Humerus.ShoulderNode;
8
      };
9
      
10
      AnyRevoluteJoint ElbowJoint = 
11
      {
12
        Axis = y;
13
        //Ref = 0;
14
        AnyRefFrame &Humerus = Main.Forelimb.Segs.Humerus.ElbowNode;
15
        AnyRefFrame &RadiusUlna = Main.Forelimb.Segs.RadiusUlna.ElbowNode;
16
      };
17
      
18
      AnyRevoluteJoint WristJoint = 
19
      {
20
        Axis = y;
21
        //Ref = 0;
22
        AnyRefFrame &RadiusUlna = Main.Forelimb.Segs.RadiusUlna.WristNode;
23
        AnyRefFrame &Carpale = Main.Forelimb.Segs.Carpale.WristNode;
24
      };
25
      
26
      AnyRevoluteJoint CarpaleJoint = 
27
      {
28
        Axis = y;
29
        //Ref = 0;
30
        AnyRefFrame &Carpale = Main.Forelimb.Segs.Carpale.CarpaleNode;
31
        AnyRefFrame &MetaCarpale = Main.Forelimb.Segs.MetaCarpale.CarpaleNode;
32
      };
33
      
34
      AnyRevoluteJoint MetaCarpaleJoint = 
35
      {
36
        Axis = y;
37
        //Ref = 0;
38
        AnyRefFrame &MetaCarpale = Main.Forelimb.Segs.MetaCarpale.MetaCarpaleNode;
39
        AnyRefFrame &PhalanxProx = Main.Forelimb.Segs.PhalanxProx.MetaCarpaleNode;
40
      };
41
      
42
      AnyRevoluteJoint PhalanxProxJoint = 
43
      {
44
        Axis = y;
45
        //Ref = 0;
46
        AnyRefFrame &PhalanxProx = Main.Forelimb.Segs.PhalanxProx.PhalanxProxNode;
47
        AnyRefFrame &PhalanxMid = Main.Forelimb.Segs.PhalanxMid.PhalanxProxNode;
48
      };
49
      
50
      AnyRevoluteJoint PhalanxMidJoint = 
51
      {
52
        Axis = y;
53
        //Ref = 0;
54
        AnyRefFrame &PhalanxMid = Main.Forelimb.Segs.PhalanxMid.PhalanxMidNode;
55
        AnyRefFrame &PhalanxDist = Main.Forelimb.Segs.PhalanxDist.PhalanxMidNode;
56
      };
57
      
58
}; // Joints folder
59
60
61
62
63
64
65
66
67
68
69
AnyReacForce ScapulaEnvironment = 
70
{
71
  AnyKinMeasureOrg org = {
72
    AnyKinLinear Lin = {
73
      AnyRefFrame &Scapula = Main.Forelimb.Segs.Scapula;
74
      AnyRefFrame &Environment = Main.Forelimb.GlobalRef;    
75
    };
76
    
77
    AnyKinRotational Rot = {
78
      AnyRefFrame &Scapula = Main.Forelimb.Segs.Scapula;
79
      AnyRefFrame &Environment = Main.Forelimb.GlobalRef;
80
      Type = RotAxesAngles;
81
    };
82
  };
83
};
84
85
86
87
AnyFolder BoundaryConditions = {
88
//  AnyReacForce ScapulaGround = 
89
//  {
90
//    //Type = ;
91
//    //AnyKinMeasure& <Insert name0> = <Insert object reference (or full object definition)>; You can make any number of these objects!
92
//    AnyKinLinear Lin = 
93
//    {
94
//      AnyRefFrame &Scapula = Main.Forelimb.Segs.Scapula;
95
//    };
96
//
97
//    AnyKinRotational Rot = 
98
//    {
99
//      AnyRefFrame &Scapula = Main.Forelimb.Segs.Scapula;
100
//      Type = RotAxesAngles;
101
//    };
102
//  };
103
  AnyReacForce JointReacForce = 
104
  {
105
     AnySphericalJoint &ShoulderJoint = Main.Forelimb.Joints.ShoulderJoint;
106
      AnyRevoluteJoint &PhalanxMidJoint = Main.Forelimb.Joints.PhalanxMidJoint;
107
      AnyRevoluteJoint &PhalanxProxJoint = Main.Forelimb.Joints.PhalanxProxJoint;
108
      AnyRevoluteJoint &MetaCarpaleJoint = Main.Forelimb.Joints.MetaCarpaleJoint;
109
      AnyRevoluteJoint &CarpaleJoint = Main.Forelimb.Joints.CarpaleJoint;
110
      AnyRevoluteJoint &ElbowJoint = Main.Forelimb.Joints.ElbowJoint;
111
      AnyRevoluteJoint &WristJoint = Main.Forelimb.Joints.WristJoint;
112
  };
113
114
};
115
116
117
118
119
120
121
122
AnyFolder MarkerDrivers = {
123
124
  AnyKinEqSimpleDriver Scapula1 = {
125
    AnyKinLinear lin = {
126
      AnyRefFrame &Bone = Main.Forelimb.Segs.Scapula.Scapula1MarkerNode;
127
      AnyRefFrame &Marker = Main.Forelimb.Markers.Scapula1.Seg;
128
    };
129
    MeasureOrganizer = {0,1,2};
130
    DriverVel = {0,0,0};
131
    Reaction.Type = {Off,Off,Off};
132
  };
133
  AnyKinEqSimpleDriver Scapula2 = {
134
    AnyKinLinear lin = {
135
      AnyRefFrame &Bone = Main.Forelimb.Segs.Scapula.Scapula2MarkerNode;
136
      AnyRefFrame &Marker = Main.Forelimb.Markers.Scapula2.Seg;
137
    };
138
    MeasureOrganizer = {1};
139
    DriverVel = {0};
140
    Reaction.Type = {Off};
141
  };
142
143
  AnyKinEqSimpleDriver ShoulderJoint = {
144
    AnyKinLinear lin = {
145
      AnyRefFrame &Bone = Main.Forelimb.Segs.Humerus.ShoulderJointMarkerNode;
146
      AnyRefFrame &Marker = Main.Forelimb.Markers.ShoulderJoint.Seg;
147
    };
148
    MeasureOrganizer = {0,1};
149
    DriverVel = {0,0};
150
    Reaction.Type = {Off,Off};
151
  };
152
  AnyKinEqSimpleDriver ElbowJoint = {
153
    AnyKinLinear lin = {
154
      AnyRefFrame &Bone = Main.Forelimb.Segs.RadiusUlna.ElbowJointMarkerNode;
155
      AnyRefFrame &Marker = Main.Forelimb.Markers.ElbowJoint.Seg;
156
    };
157
    MeasureOrganizer = {0,1};
158
    DriverVel = {0,0};
159
    Reaction.Type = {Off,Off};
160
  };
161
  
162
  AnyKinEqSimpleDriver WristJoint = {
163
    AnyKinLinear lin = {
164
      AnyRefFrame &Bone = Main.Forelimb.Segs.MetaCarpale.WristJointMarkerNode;
165
      AnyRefFrame &Marker = Main.Forelimb.Markers.WristJoint.Seg;
166
    //  Ref = 0;
167
    };
168
    MeasureOrganizer = {0};
169
    DriverVel = {0};
170
    Reaction.Type = {Off};
171
  };
172
   
173
  AnyKinEqSimpleDriver ProxPhalanx = {
174
    AnyKinLinear lin = {
175
      AnyRefFrame &Bone = Main.Forelimb.Segs.PhalanxProx.ProxPhalanxMarkerNode;
176
      AnyRefFrame &Marker = Main.Forelimb.Markers.ProxPhalanx.Seg;
177
      Ref = 0;
178
    };
179
    MeasureOrganizer = {0,1};
180
    DriverVel = {0,0};
181
    Reaction.Type = {Off, Off};
182
  };
183
    
184
  AnyKinEqSimpleDriver MidPhalanx = {
185
    AnyKinLinear lin = {
186
      AnyRefFrame &Bone = Main.Forelimb.Segs.PhalanxMid.MidPhalanxMarkerNode;
187
      AnyRefFrame &Marker = Main.Forelimb.Markers.MidPhalanx.Seg;
188
      Ref = 0;
189
    };
190
    MeasureOrganizer = {0};
191
    DriverVel = {0};
192
    Reaction.Type = {Off};
193
  };
194
 
195
  
196
  AnyKinEqSimpleDriver DistPhalanx = {
197
    AnyKinLinear lin = {
198
      AnyRefFrame &Bone = Main.Forelimb.Segs.PhalanxDist.DistPhalanxMarkerNode;
199
      AnyRefFrame &Marker = Main.Forelimb.Markers.DistPhalanx.Seg;
200
      Ref = 0;
201
    };
202
    MeasureOrganizer = {0};
203
    DriverVel = {0};
204
    Reaction.Type = {Off};
205
  };
206
};
207
208
209
AnyFolder DriversStart = {
210
211
  AnyKinEqSimpleDriver Carpale = {
212
    AnyRevoluteJoint &jnt = Main.Forelimb.Joints.CarpaleJoint;
213
    DriverVel = {0*pi/180};
214
    Reaction.Type={Off};
215
  };
216
217
  
218
  AnyKinEqSimpleDriver PhalanxMid = {
219
    AnyRevoluteJoint &jnt = Main.Forelimb.Joints.PhalanxMidJoint;
220
    DriverVel = {0*pi/180};
221
    Reaction.Type={Off};
222
223
  };
224
};