-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsnip.Femur.main-2.any
More file actions
70 lines (56 loc) · 1.92 KB
/
snip.Femur.main-2.any
File metadata and controls
70 lines (56 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Todo: Write a small description of your model here
Main = {
// The actual body model goes in this folder
AnyFolder MyModel = {
// Global Reference Frame
AnyFixedRefFrame GlobalRef = {
// Todo: Add points for grounding of the model here
}; // Global reference frame
// Todo. Add the model elements such as
// segments, joints, and muscles here.
//# BEGIN SNIPPET 2
AnySeg SourceFemur = {
Mass = 0; Jii = {0, 0, 0};
AnyDrawSurf Surface = {
FileName = "SourceFemur.stl";
RGB = {222,202,176}/256;
§AnyFunTransform3D &ref = ..MyTransform;§
};
};
//# END SNIPPET 2
AnySeg TargetFemur = {
Mass = 0; Jii = {0, 0, 0};
AnyDrawSurf Surface = {
FileName = "TargetFemur.stl";
RGB = {256,256,0}/256;
};
};
//# BEGIN SNIPPET 1
AnyFunTransform3DLin2 §MyTransform§ = {
//PreTransforms = {};
Points0 = §{
{-0.00906139, 0.36453, 0.0175591}, // fovea capitis
{0.0358368, -0.0100391, -0.0162062}, // lateral anterior condyle
{0.0295267, -0.0112881, 0.0194889}, // medial anterior condyle
{0.0282045, 0.157599, -0.0172379}, // anterior mid shaft
{-0.0245689, -0.00701566, -0.0238393}, // lateral posterior condyle
{-0.0320739, -0.00877602, 0.0244234} // medial posterior condyle
};§
Points1 = §{
{0.289913,0.420538,0.0138931}, // fovea capitis
{0.322038,0.433232,-0.378636}, // lateral anterior condyle
{0.289309,0.426839,-0.372994}, // medial anterior condyle
{0.328859,0.425856,-0.175012}, // anterior mid shaft
{0.306293,0.487243,-0.370319}, // lateral posterior condyle
{0.261891,0.47585,-0.372696} // medial posterior condyle
};
Mode = VTK_LANDMARK_AFFINE;§
};
//# END SNIPPET 1
}; // MyModel
// The study: Operations to be performed on the model
AnyBodyStudy MyStudy = {
AnyFolder &Model = .MyModel;
Gravity = {0.0, -9.81, 0.0};
};
}; // Main