+ return io.write(path)
+
+
+def getBoneDisplayGroup(bone):
+ boneGroups=[
+ [ # IK
+ "necktie IK", "hair IK_L", "hair IK_R", "leg IK_L", "leg IK_R",
+ "toe IK_L", "toe IK_R",
+ ],
+ [ # 体(上)
+ "upper body", "neck", "head", "eye_L", "eye_R",
+ "necktie1", "necktie2", "necktie3", "eyes",
+ "eyelight_L", "eyelight_R",
+ ],
+ [ # 髪
+ "front hair1", "front hair2", "front hair3",
+ "hair1_L", "hair2_L", "hair3_L",
+ "hair4_L", "hair5_L", "hair6_L",
+ "hair1_R", "hair2_R", "hair3_R",
+ "hair4_R", "hair5_R", "hair6_R",
+ ],
+ [ # 腕
+ "shoulder_L", "arm_L", "arm twist_L", "elbow_L",
+ "wrist twist_L", "wrist_L", "sleeve_L",
+ "shoulder_R", "arm_R", "arm twist_R", "elbow_R",
+ "wrist twist_R", "wrist_R", "sleeve_R",
+ ],
+ [ # 指
+ "thumb1_L", "thumb2_L", "fore1_L", "fore2_L", "fore3_L",
+ "middle1_L", "middle2_L", "middle3_L",
+ "third1_L", "third2_L", "third3_L",
+ "little1_L", "little2_L", "little3_L",
+ "thumb1_R", "thumb2_R", "fore1_R", "fore2_R", "fore3_R",
+ "middle1_R", "middle2_R", "middle3_R",
+ "third1_R", "third2_R", "third3_R",
+ "little1_R", "little2_R", "little3_R",
+ ],
+ [ # 体(下)
+ "lower body", "waist accessory",
+ "front skirt_L", "back skirt_L",
+ "front skirt_R", "back skirt_R",
+ ],
+ [ # 足
+ "leg_L", "knee_L", "ankle_L",
+ "leg_R", "knee_R", "ankle_R",
+ ],
+ ]
+ index=1
+ for g in boneGroups:
+ if bone.name in g:
+ return index
+ index+=1
+ print(bone)
+ return -1