-
Notifications
You must be signed in to change notification settings - Fork 30
/
bone_name.py
130 lines (93 loc) · 5.01 KB
/
bone_name.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
paj_middle_bone_name = [
'root',
'bip001',
'bip001_pelvis',
'bip001_spine',
'bip001_spine1',
'bip001_spine2',
'bip001_neck',
'bip001_head',
]
paj_bone_name = {
'root': (u'全ての親', u'ParentNode'),
'bip001': (u'腰', u'Waist'),
'bip001_pelvis': (u'下半身', u'LowerBody'),
'bip001_spine': (u'上半身', u'UpperBody'),
'bip001_spine1': (u'上半身2', u'UpperBody2'),
'bip001_neck': (u'首', u'Neck'),
'bip001_head': (u'頭', u'Head'),
'bip001_l_clavicle': (u'左肩', u'LeftShoulder'),
'bip001_l_upperarm': (u'左腕', u'LeftArm'),
'bip001_l_forearm': (u'左ひじ', u'LeftElbow'),
'bip001_l_hand': (u'左手首', u'LeftWrist'),
'bip001_l_finger0': (u'左親指0', u'LeftThumbFinger0'),
'bip001_l_finger01': (u'左親指1', u'LeftThumbFinger1'),
'bip001_l_finger02': (u'左親指2', u'LeftThumbFinger2'),
'bip001_l_thigh': (u'左足', u'LeftLeg'),
'bip001_l_calf': (u'左ひざ', u'LeftKnee'),
'bip001_l_foot': (u'左足首', u'LeftAnkle'),
'bip001_l_toe0': (u'左つま先', u'LeftToe'),
'bip001_r_clavicle': (u'右肩', u'RightShoulder'),
'bip001_r_upperarm': (u'右腕', u'RightArm'),
'bip001_r_forearm': (u'右ひじ', u'RightElbow'),
'bip001_r_hand': (u'右手首', u'RightWrist'),
'bip001_r_finger0': (u'右親指0', u'RightThumbFinger0'),
'bip001_r_finger01': (u'右親指1', u'RightThumbFinger1'),
'bip001_r_finger02': (u'右親指2', u'RightThumbFinger2'),
'bip001_r_thigh': (u'右足', u'RightLeg'),
'bip001_r_calf': (u'右ひざ', u'RightKnee'),
'bip001_r_foot': (u'右足首', u'RightAnkle'),
'bip001_r_toe0': (u'右つま先', u'RightToe'),
}
paj_hand0_name = {
'bip001_l_finger1': (u'左人指1', u'LeftIndexFinger1'),
'bip001_l_finger11': (u'左人指2', u'LeftIndexFinger2'),
'bip001_l_finger12': (u'左人指3', u'LeftIndexFinger3'),
'bip001_l_finger2': (u'左中指1', u'LeftMiddleFinger1'),
'bip001_l_finger21': (u'左中指2', u'LeftMiddleFinger2'),
'bip001_l_finger22': (u'左中指3', u'LeftMiddleFinger3'),
'bip001_l_finger3': (u'左薬指1', u'LeftRingFinger1'),
'bip001_l_finger31': (u'左薬指2', u'LeftRingFinger2'),
'bip001_l_finger32': (u'左薬指3', u'LeftRingFinger3'),
'bip001_l_finger4': (u'左小指1', u'LeftLittleFinger1'),
'bip001_l_finger41': (u'左小指2', u'LeftLiitleFinger2'),
'bip001_l_finger42': (u'左小指3', u'LeftLiitleFinger3'),
'bip001_r_finger1': (u'右人指1', u'RightIndexFinger1'),
'bip001_r_finger11': (u'右人指2', u'RightIndexFinger2'),
'bip001_r_finger12': (u'右人指3', u'RightIndexFinger3'),
'bip001_r_finger2': (u'右中指1', u'RightMiddleFinger1'),
'bip001_r_finger21': (u'右中指2', u'RightMiddleFinger2'),
'bip001_r_finger22': (u'右中指3', u'RightMiddleFinger3'),
'bip001_r_finger3': (u'右薬指1', u'RightRingFinger1'),
'bip001_r_finger31': (u'右薬指2', u'RightRingFinger2'),
'bip001_r_finger32': (u'右薬指3', u'RightRingFinger3'),
'bip001_r_finger4': (u'右小指1', u'RightLittleFinger1'),
'bip001_r_finger41': (u'右小指2', u'RightLiitleFinger2'),
'bip001_r_finger42': (u'右小指3', u'RightLiitleFinger3'),
}
paj_hand1_name = {
'bip001_l_finger11': (u'左人指1', u'LeftIndexFinger1'),
'bip001_l_finger12': (u'左人指2', u'LeftIndexFinger2'),
'bip001_l_finger13': (u'左人指3', u'LeftIndexFinger3'),
'bip001_l_finger21': (u'左中指1', u'LeftMiddleFinger1'),
'bip001_l_finger22': (u'左中指2', u'LeftMiddleFinger2'),
'bip001_l_finger23': (u'左中指3', u'LeftMiddleFinger3'),
'bip001_l_finger31': (u'左薬指1', u'LeftRingFinger1'),
'bip001_l_finger32': (u'左薬指2', u'LeftRingFinger2'),
'bip001_l_finger33': (u'左薬指3', u'LeftRingFinger3'),
'bip001_l_finger41': (u'左小指1', u'LeftLittleFinger1'),
'bip001_l_finger42': (u'左小指2', u'LeftLiitleFinger2'),
'bip001_l_finger43': (u'左小指3', u'LeftLiitleFinger3'),
'bip001_r_finger11': (u'右人指1', u'RightIndexFinger1'),
'bip001_r_finger12': (u'右人指2', u'RightIndexFinger2'),
'bip001_r_finger13': (u'右人指3', u'RightIndexFinger3'),
'bip001_r_finger21': (u'右中指1', u'RightMiddleFinger1'),
'bip001_r_finger22': (u'右中指2', u'RightMiddleFinger2'),
'bip001_r_finger23': (u'右中指3', u'RightMiddleFinger3'),
'bip001_r_finger31': (u'右薬指1', u'RightRingFinger1'),
'bip001_r_finger32': (u'右薬指2', u'RightRingFinger2'),
'bip001_r_finger33': (u'右薬指3', u'RightRingFinger3'),
'bip001_r_finger41': (u'右小指1', u'RightLittleFinger1'),
'bip001_r_finger42': (u'右小指2', u'RightLiitleFinger2'),
'bip001_r_finger43': (u'右小指3', u'RightLiitleFinger3'),
}