5 ###############################################################################
7 ###############################################################################
10 ("upper body", "上半身"),
15 ("necktie1", "ネクタイ1"),
16 ("necktie2", "ネクタイ2"),
17 ("necktie3", "ネクタイ3"),
18 ("lower body", "下半身"),
19 ("waist accessory", "腰飾り"),
28 ("arm twist_L", "左腕捩", 8),
30 ("wrist twist_L", "左手捩", 8),
32 ("sleeve_L", "左袖", 1),
38 ("middle1_L", "左中指1"),
39 ("middle2_L", "左中指2"),
40 ("middle3_L", "左中指3"),
44 ("little1_L", "左小指1"),
45 ("little2_L", "左小指2"),
46 ("little3_L", "左小指3"),
47 ("front skirt_L", "左スカート前"),
48 ("back skirt_L", "左スカート後"),
60 ("arm twist_R", "右腕捩", 8),
62 ("wrist twist_R", "右手捩", 8),
64 ("sleeve_R", "右袖", 1),
70 ("middle1_R", "右中指1"),
71 ("middle2_R", "右中指2"),
72 ("middle3_R", "右中指3"),
76 ("little1_R", "右小指1"),
77 ("little2_R", "右小指2"),
78 ("little3_R", "右小指3"),
79 ("front skirt_R", "右スカート前"),
80 ("back skirt_R", "右スカート後"),
85 ("front hair1", "前髪1"),
86 ("front hair2", "前髪2"),
87 ("front hair3", "前髪3"),
88 ("eyelight_L", "左目光"),
89 ("eyelight_R", "右目光"),
90 ("necktie3_t", "ネクタイ4"),
93 ("ankle_L_t", "左つま先"),
94 ("ankle_R_t", "右つま先"),
95 ("necktie IK", "ネクタイIK"),
96 ("hair IK_L", "左髪IK"),
97 ("hair IK_R", "右髪IK"),
100 ("toe IK_L", "左つま先IK"),
101 ("toe IK_R", "右つま先IK"),
103 ("lower body_t", "下半身先"),
107 ("waist accessory_t", "腰飾り先"),
109 ("sleeve_L_t", "左袖先"),
110 ("wrist_L_t", "左手先"),
111 ("thumb2_L_t", "左親指先"),
112 ("fore3_L_t", "左人差指先"),
113 ("middle3_L_t", "左中指先"),
114 ("third3_L_t", "左薬指先"),
115 ("little3_L_t", "左小指先"),
116 ("front skirt_L_t", "左スカート前先"),
117 ("back skirt_L_t", "左スカート後先"),
119 ("sleeve_R_t", "右袖先"),
120 ("wrist_R_t", "右手先"),
121 ("thumb2_R_t", "右親指先"),
122 ("fore3_R_t", "右人差指先"),
123 ("middle3_R_t", "右中指先"),
124 ("third3_R_t", "右薬指先"),
125 ("little3_R_t", "右小指先"),
126 ("front skirt_R_t", "右スカート前先"),
127 ("back skirt_R_t", "右スカート後先"),
129 ("center_t", "センター先"),
131 ("necktie IK_t", "ネクタイIK先"),
132 ("hair IK_L_t", "左髪IK先"),
133 ("hair IK_R_t", "右髪IK先"),
134 ("leg IK_L_t", "左足IK先"),
135 ("leg IK_R_t", "右足IK先"),
136 ("toe IK_L_t", "左つま先IK先"),
137 ("toe IK_R_t", "右つま先IK先"),
138 ("front hair1_t", "前髪1先"),
139 ("front hair2_t", "前髪2先"),
140 ("front hair3_t", "前髪3先"),
141 ("eyelight_L_t", "左目光先"),
142 ("eyelight_R_t", "右目光先"),
143 ("arm twist_L_t", "左腕捩先"),
144 ("wrist twist_L_t", "左手捩先"),
145 ("arm twist_R_t", "右腕捩先"),
146 ("wrist twist_R_t", "右手捩先"),
147 ("arm twist1_L", "左腕捩1", 9),
148 ("arm twist2_L", "左腕捩2", 9),
149 ("arm twist3_L", "左腕捩3", 9),
150 ("arm twist1_R", "右腕捩1", 9),
151 ("arm twist2_R", "右腕捩2", 9),
152 ("arm twist3_R", "右腕捩3", 9),
154 ("arm twist1_L_t", "左腕捩1先"),
155 ("arm twist2_L_t", "左腕捩2先"),
156 ("arm twist3_L_t", "左腕捩3先"),
157 ("arm twist1_R_t", "右腕捩1先"),
158 ("arm twist2_R_t", "右腕捩2先"),
159 ("arm twist3_R_t", "右腕捩3先"),
161 def getEnglishBoneName(name):
166 def getIndexByEnglish(name):
167 for i, v in enumerate(boneMap):
171 def getUnicodeBoneName(name):
178 ("serious", "真面目", 1),
179 ("sadness", "困る", 1),
180 ("cheerful", "にこり", 1),
184 ("blink", "まばたき", 2),
187 ("wink2", "ウィンク2", 2),
188 ("wink_R", "ウィンク右", 2),
189 ("wink2_R", "ウィンク2右", 2),
190 ("close><", "はぅ", 2),
192 ("surprise", "びっくり", 2),
194 ("confuse", "なぬ!", 2),
200 ("triangle", "▲", 3),
203 ("omegabox", "ω□", 3),
205 ("tongue", "ぺろっ", 4),
209 def getEnglishSkinName(name):
214 def getUnicodeSkinName(name):
219 if sys.version_info[0]<3:
220 print('convert boneMap and skinMap to unicode...')
223 for i, l in enumerate(boneMap):
225 for j, m in enumerate(l):
227 replace.append(m.decode('utf-8'))
232 for i, l in enumerate(skinMap):
234 for j, m in enumerate(l):
236 replace.append(m.decode('utf-8'))