12 ("center", "センター", 1),
13 ("upper body", "上半身"),
18 ("necktie1", "ネクタイ1"),
19 ("necktie2", "ネクタイ2"),
20 ("necktie3", "ネクタイ3"),
21 ("lower body", "下半身"),
22 ("waist accessory", "腰飾り"),
31 ("arm twist_L", "左腕捩", 8),
33 ("wrist twist_L", "左手捩", 8),
35 ("sleeve_L", "左袖", 1),
41 ("middle1_L", "左中指1"),
42 ("middle2_L", "左中指2"),
43 ("middle3_L", "左中指3"),
47 ("little1_L", "左小指1"),
48 ("little2_L", "左小指2"),
49 ("little3_L", "左小指3"),
50 ("front skirt_L", "左スカート前"),
51 ("back skirt_L", "左スカート後"),
63 ("arm twist_R", "右腕捩", 8),
65 ("wrist twist_R", "右手捩", 8),
67 ("sleeve_R", "右袖", 1),
73 ("middle1_R", "右中指1"),
74 ("middle2_R", "右中指2"),
75 ("middle3_R", "右中指3"),
79 ("little1_R", "右小指1"),
80 ("little2_R", "右小指2"),
81 ("little3_R", "右小指3"),
82 ("front skirt_R", "右スカート前"),
83 ("back skirt_R", "右スカート後"),
88 ("front hair1", "前髪1"),
89 ("front hair2", "前髪2"),
90 ("front hair3", "前髪3"),
91 ("eyelight_L", "左目光"),
92 ("eyelight_R", "右目光"),
93 ("necktie3_t", "ネクタイ4"),
96 ("ankle_L_t", "左つま先"),
97 ("ankle_R_t", "右つま先"),
98 ("necktie IK", "ネクタイIK"),
99 ("hair IK_L", "左髪IK"),
100 ("hair IK_R", "右髪IK"),
101 ("leg IK_L", "左足IK"),
102 ("leg IK_R", "右足IK"),
103 ("toe IK_L", "左つま先IK"),
104 ("toe IK_R", "右つま先IK"),
106 ("lower body_t", "下半身先"),
110 ("waist accessory_t", "腰飾り先"),
112 ("sleeve_L_t", "左袖先"),
113 ("wrist_L_t", "左手先"),
114 ("thumb2_L_t", "左親指先"),
115 ("fore3_L_t", "左人差指先"),
116 ("middle3_L_t", "左中指先"),
117 ("third3_L_t", "左薬指先"),
118 ("little3_L_t", "左小指先"),
119 ("front skirt_L_t", "左スカート前先"),
120 ("back skirt_L_t", "左スカート後先"),
122 ("sleeve_R_t", "右袖先"),
123 ("wrist_R_t", "右手先"),
124 ("thumb2_R_t", "右親指先"),
125 ("fore3_R_t", "右人差指先"),
126 ("middle3_R_t", "右中指先"),
127 ("third3_R_t", "右薬指先"),
128 ("little3_R_t", "右小指先"),
129 ("front skirt_R_t", "右スカート前先"),
130 ("back skirt_R_t", "右スカート後先"),
132 ("center_t", "センター先"),
134 ("necktie IK_t", "ネクタイIK先"),
135 ("hair IK_L_t", "左髪IK先"),
136 ("hair IK_R_t", "右髪IK先"),
137 ("leg IK_L_t", "左足IK先"),
138 ("leg IK_R_t", "右足IK先"),
139 ("toe IK_L_t", "左つま先IK先"),
140 ("toe IK_R_t", "右つま先IK先"),
141 ("front hair1_t", "前髪1先"),
142 ("front hair2_t", "前髪2先"),
143 ("front hair3_t", "前髪3先"),
144 ("eyelight_L_t", "左目光先"),
145 ("eyelight_R_t", "右目光先"),
146 ("arm twist_L_t", "左腕捩先"),
147 ("wrist twist_L_t", "左手捩先"),
148 ("arm twist_R_t", "右腕捩先"),
149 ("wrist twist_R_t", "右手捩先"),
150 ("arm twist1_L", "左腕捩1", 9),
151 ("arm twist2_L", "左腕捩2", 9),
152 ("arm twist3_L", "左腕捩3", 9),
153 ("arm twist1_R", "右腕捩1", 9),
154 ("arm twist2_R", "右腕捩2", 9),
155 ("arm twist3_R", "右腕捩3", 9),
157 ("arm twist1_L_t", "左腕捩1先"),
158 ("arm twist2_L_t", "左腕捩2先"),
159 ("arm twist3_L_t", "左腕捩3先"),
160 ("arm twist1_R_t", "右腕捩1先"),
161 ("arm twist2_R_t", "右腕捩2先"),
162 ("arm twist3_R_t", "右腕捩3先"),
168 ("group_t", "グループ先"),
169 ("front_shirt_L", "左シャツ前"),
170 ("front_shirt_R", "右シャツ前"),
171 ("back_shirt_L", "左シャツ後"),
172 ("back_shirt_R", "右シャツ後"),
174 def getEnglishBoneName(name):
179 def getIndexByEnglish(name):
180 for i, v in enumerate(boneMap):
184 def getUnicodeBoneName(name):
194 ("serious", "真面目", 1),
195 ("sadness", "困る", 1),
196 ("cheerful", "にこり", 1),
200 ("blink", "まばたき", 2),
203 ("wink2", "ウィンク2", 2),
204 ("wink_R", "ウィンク右", 2),
205 ("wink2_R", "ウィンク2右", 2),
206 ("close><", "はぅ", 2),
208 ("surprise", "びっくり", 2),
210 ("confuse", "なぬ!", 2),
216 ("triangle", "▲", 3),
219 ("omegabox", "ω□", 3),
221 ("tongue", "ぺろっ", 4),
225 def getEnglishSkinName(name):
230 def getUnicodeSkinName(name):
247 def getEnglishBoneGroupName(name):
248 for v in boneGroupMap:
252 def getUnicodeBoneGroupName(name):
253 for v in boneGroupMap:
258 ###############################################################################
259 # blender2.4 str to unicode
260 ###############################################################################
261 if sys.version_info[0]<3:
262 print('convert boneMap and skinMap to unicode...')
265 for i, l in enumerate(boneMap):
267 for j, m in enumerate(l):
269 replace.append(m.decode('utf-8'))
274 for i, l in enumerate(skinMap):
276 for j, m in enumerate(l):
278 replace.append(m.decode('utf-8'))