-
Notifications
You must be signed in to change notification settings - Fork 2
/
ops_point.py
141 lines (134 loc) · 8.96 KB
/
ops_point.py
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
points = [
{"name": "pelvis", "parent": None, "h1": 4952, "h2": 5005,
"t1": 5513, "t2": 4853, "or": 'GLOBAL_NEG_Z', "conn": True},
{"name": "spine.01", "parent": "pelvis", "h1": None, "h2": None,
"t1": 5493, "t2": 4829, "or": "NEG_X", "conn": True},
{"name": "spine.02", "parent": "spine.01", "h1": None, "h2": None,
"t1": 5263, "t2": 5087, "or": "NEG_X", "conn": True},
{"name": "spine.03", "parent": "spine.02", "h1": None, "h2": None,
"t1": 757, "t2": 478, "or": "POS_X", "conn": True},
{"name": "neck.01", "parent": "spine.03", "h1": None, "h2": None,
"t1": 1527, "t2": 18, "or": "POS_X", "conn": True},
{"name": "neck.02", "parent": "neck.01", "h1": None, "h2": None,
"t1": 2592, "t2": 1125, "or": "POS_X", "conn": True},
{"name": "head", "parent": "neck.02", "h1": None, "h2": None,
"t1": 31, "t2": 31, "or": "NEG_X", "conn": True},
{"name": "spine.03.R", "parent": "spine.02", "h1": None, "h2": None,
"t1": 5822, "t2": 5704, "or": "POS_X", "conn": True},
{"name": "spine.03.L", "parent": "spine.02", "h1": None, "h2": None,
"t1": 5073, "t2": 5202, "or": "POS_X", "conn": True},
{"name": "spine.01.R", "parent": "pelvis", "h1": None, "h2": None,
"t1": 5516, "t2": 5508, "or": "NEG_X", "conn": True},
{"name": "spine.01.L", "parent": "pelvis", "h1": None, "h2": None,
"t1": 4856, "t2": 4848, "or": "NEG_X", "conn": True},
{"name": "thigh.L", "parent": "pelvis", "h1": 4887, "h2": 4918,
"t1": 7214, "t2": 7251, "or": "GLOBAL_NEG_Y", "conn": False},
{"name": "thigh.twist.L", "parent": "thigh.L", "h1": None, "h2": None,
"t1": 7040, "t2": 7006, "or": "GLOBAL_NEG_Y", "conn": True},
{"name": "calf.L", "parent": "thigh.twist.L", "h1": None, "h2": None,
"t1": 6964, "t2": 6936, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "calf.twist.L", "parent": "calf.L", "h1": None, "h2": None,
"t1": 7086, "t2": 7158, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "foot.L", "parent": "calf.twist.L", "h1": None, "h2": None,
"t1": 7593, "t2": 7604, "or": "POS_X", "conn": True},
{"name": "ball.L", "parent": "foot.L", "h1": None, "h2": None,
"t1": 7349, "t2": 7372, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "thigh.R", "parent": "pelvis", "h1": 5571, "h2": 5546,
"t1": 8882, "t2": 8845, "or": "GLOBAL_NEG_Y", "conn": False},
{"name": "thigh.twist.R", "parent": "thigh.R", "h1": None, "h2": None,
"t1": 8637, "t2": 8671, "or": "GLOBAL_NEG_Y", "conn": True},
{"name": "calf.R", "parent": "thigh.twist.R", "h1": None, "h2": None,
"t1": 8564, "t2": 8592, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "calf.twist.R", "parent": "calf.R", "h1": None, "h2": None,
"t1": 8788, "t2": 8716, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "foot.R", "parent": "calf.twist.R", "h1": None, "h2": None,
"t1": 9224, "t2": 9234, "or": "POS_X", "conn": True},
{"name": "ball.R", "parent": "foot.R", "h1": None, "h2": None,
"t1": 9000, "t2": 8979, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "clavicle.L", "parent": "spine.03", "h1": 477, "h2": 712,
"t1": 5070, "t2": 5096, "or": "NEG_X", "conn": False},
{"name": "upperarm.L", "parent": "clavicle.L", "h1": None, "h2": None,
"t1": 6824, "t2": 6816, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "upperarm.twist.L", "parent": "upperarm.L", "h1": None,
"h2": None, "t1": 6244, "t2": 6223, "or": "NEG_X", "conn": True},
{"name": "lowerarm.L", "parent": "upperarm.twist.L", "h1": None,
"h2": None, "t1": 6283, "t2": 6287, "or": "GLOBAL_POS_X",
"conn": True},
{"name": "lowerarm.twist.L", "parent": "lowerarm.L", "h1": None,
"h2": None, "t1": 6324, "t2": 6333, "or": "NEG_Z", "conn": True},
{"name": "hand.L", "parent": "lowerarm.twist.L", "h1": None, "h2": None,
"t1": 6891, "t2": 6837, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "clavicle.R", "parent": "spine.03", "h1": 1964, "h2": 2184,
"t1": 5697, "t2": 5722, "or": "POS_X", "conn": False},
{"name": "upperarm.R", "parent": "clavicle.R", "h1": None, "h2": None,
"t1": 8456, "t2": 8446, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "upperarm.twist.R", "parent": "upperarm.R", "h1": None,
"h2": None, "t1": 7874, "t2": 7853, "or": "POS_X", "conn": True},
{"name": "lowerarm.R", "parent": "upperarm.twist.R", "h1": None,
"h2": None, "t1": 7913, "t2": 7917, "or": "GLOBAL_NEG_X",
"conn": True},
{"name": "lowerarm.twist.R", "parent": "lowerarm.R", "h1": None,
"h2": None, "t1": 7954, "t2": 7657, "or": "POS_Z", "conn": True},
{"name": "hand.R", "parent": "lowerarm.twist.R", "h1": None, "h2": None,
"t1": 8521, "t2": 8467, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "thumb.01.L", "parent": "hand.L", "h1": 6840, "h2": 6713,
"t1": 6084, "t2": 6077, "or": "GLOBAL_POS_Y", "conn": False},
{"name": "thumb.02.L", "parent": "thumb.01.L", "h1": None, "h2": None,
"t1": 6683, "t2": 6691, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "thumb.03.L", "parent": "thumb.02.L", "h1": None, "h2": None,
"t1": 6088, "t2": 6088, "or": "GLOBAL_POS_Y", "conn": True},
{"name": "index.01.L", "parent": "hand.L", "h1": 6068, "h2": 6719,
"t1": 6601, "t2": 6605, "or": "GLOBAL_NEG_Z", "conn": False},
{"name": "index.02.L", "parent": "index.01.L", "h1": None, "h2": None,
"t1": 6442, "t2": 6434, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "index.03.L", "parent": "index.02.L", "h1": None, "h2": None,
"t1": 6096, "t2": 6096, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "middle.01.L", "parent": "hand.L", "h1": 6064, "h2": 6724,
"t1": 6448, "t2": 6455, "or": "GLOBAL_NEG_Z", "conn": False},
{"name": "middle.02.L", "parent": "middle.01.L", "h1": None, "h2": None,
"t1": 6466, "t2": 6474, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "middle.03.L", "parent": "middle.02.L", "h1": None, "h2": None,
"t1": 6103, "t2": 6103, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "ring.01.L", "parent": "hand.L", "h1": 6060, "h2": 6739,
"t1": 6480, "t2": 6487, "or": "GLOBAL_NEG_Z", "conn": False},
{"name": "ring.02.L", "parent": "ring.01.L", "h1": None, "h2": None,
"t1": 6498, "t2": 6506, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "ring.03.L", "parent": "ring.02.L", "h1": None, "h2": None,
"t1": 6106, "t2": 6106, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "pinky.01.L", "parent": "hand.L", "h1": 6745, "h2": 6740,
"t1": 6610, "t2": 6614, "or": "GLOBAL_NEG_Z", "conn": False},
{"name": "pinky.02.L", "parent": "pinky.01.L", "h1": None, "h2": None,
"t1": 6530, "t2": 6538, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "pinky.03.L", "parent": "pinky.02.L", "h1": None, "h2": None,
"t1": 6095, "t2": 6095, "or": "GLOBAL_NEG_Z", "conn": True},
{"name": "thumb.01.R", "parent": "hand.R", "h1": 8343, "h2": 8470,
"t1": 7709, "t2": 7714, "or": "GLOBAL_NEG_Y", "conn": False},
{"name": "thumb.02.R", "parent": "thumb.01.R", "h1": None, "h2": None,
"t1": 8320, "t2": 8312, "or": "GLOBAL_NEG_Y", "conn": True},
{"name": "thumb.03.R", "parent": "thumb.02.R", "h1": None, "h2": None,
"t1": 7718, "t2": 7718, "or": "GLOBAL_NEG_Y", "conn": True},
{"name": "index.01.R", "parent": "hand.R", "h1": 7698, "h2": 8349,
"t1": 8231, "t2": 8235, "or": "GLOBAL_POS_Z", "conn": False},
{"name": "index.02.R", "parent": "index.01.R", "h1": None, "h2": None,
"t1": 8072, "t2": 8063, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "index.03.R", "parent": "index.02.R", "h1": None, "h2": None,
"t1": 7726, "t2": 7726, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "middle.01.R", "parent": "hand.R", "h1": 8354, "h2": 7694,
"t1": 8085, "t2": 8080, "or": "GLOBAL_POS_Z", "conn": False},
{"name": "middle.02.R", "parent": "middle.01.R", "h1": None, "h2": None,
"t1": 8104, "t2": 8095, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "middle.03.R", "parent": "middle.02.R", "h1": None, "h2": None,
"t1": 7731, "t2": 7731, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "ring.01.R", "parent": "hand.R", "h1": 8369, "h2": 7690,
"t1": 8117, "t2": 8112, "or": "GLOBAL_POS_Z", "conn": False},
{"name": "ring.02.R", "parent": "ring.01.R", "h1": None, "h2": None,
"t1": 8136, "t2": 8127, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "ring.03.R", "parent": "ring.02.R", "h1": None, "h2": None,
"t1": 7736, "t2": 7736, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "pinky.01.R", "parent": "hand.R", "h1": 8371, "h2": 8375,
"t1": 8244, "t2": 8240, "or": "GLOBAL_POS_Z", "conn": False},
{"name": "pinky.02.R", "parent": "pinky.01.R", "h1": None, "h2": None,
"t1": 8168, "t2": 8159, "or": "GLOBAL_POS_Z", "conn": True},
{"name": "pinky.03.R", "parent": "pinky.02.R", "h1": None, "h2": None,
"t1": 7723, "t2": 7723, "or": "GLOBAL_POS_Z", "conn": True},
]