bpy.ops.outliner.select_box(tweak=True, xmin=68, xmax=153, ymin=139, ymax=262) bpy.ops.outliner.delete() bpy.context.space_data.recent_folders_active = 0 bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_add() bpy.ops.mmd_tools.import_model(filepath="B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\model.pmx", files=[{"name":"B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\model.pmx", "name":"B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\model.pmx"}], directory="B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\model.pmx", types={'MESH', 'ARMATURE', 'MORPHS'}, scale=1, clean_model=False, log_level='WARNING') bpy.ops.mmd_tools.import_model(filepath="B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\Outfit 02\\model.pmx", files=[{"name":"B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\Outfit 02\\model.pmx", "name":"B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\Outfit 02\\model.pmx"}], directory="B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\Outfit 02\\model.pmx", types={'MESH'}, scale=1, clean_model=False, log_level='WARNING') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.posemode_toggle() bpy.ops.object.posemode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='INVERT') bpy.ops.armature.delete() bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.kkb.finalizepmx() bpy.ops.kkb.shapekeys() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.material_slot_remove_unused() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, 0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, -0.0206024, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.transform.translate(value=(0, 0.0515061, 0), orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(True, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_elements={'INCREMENT'}, use_snap_project=False, snap_target='CLOSEST', use_snap_self=True, use_snap_edit=True, use_snap_nonedit=True, use_snap_selectable=False) bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_assign() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_assign() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.vertex_group_add() bpy.ops.mesh.select_all(action='SELECT') bpy.ops.object.material_slot_deselect() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.material_slot_remove_unused() bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.shape_key_add(from_mix=False) bpy.ops.object.shape_key_move(type='TOP') bpy.ops.object.vertex_group_add() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='SELECT') bpy.ops.object.material_slot_deselect() bpy.ops.object.material_slot_deselect() bpy.ops.object.material_slot_deselect() bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.material_slot_remove_unused() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_select() bpy.ops.mesh.mark_freestyle_face(clear=False) bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.material_slot_remove_unused() bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_assign() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_assign() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.material_slot_remove_unused() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_select() bpy.ops.mesh.delete(type='VERT') bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_move(direction='UP') bpy.ops.object.material_slot_select() bpy.ops.object.editmode_toggle() Python: Traceback (most recent call last): File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\importbuttons.py", line 105, in execute bpy.ops.kkb.separatebody('INVOKE_DEFAULT'), File "G:\Blender\3.4\scripts\modules\bpy\ops.py", line 111, in __call__ ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo) RuntimeError: Error: Traceback (most recent call last): File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\separatebody.py", line 700, in execute separate_everything(context) File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\separatebody.py", line 295, in separate_everything if bpy.data.objects['Outfit 00'].material_slots.get('cf_O_face_atari_M.001'): KeyError: 'bpy_prop_collection[key]: key "Outfit 00" not found' bpy.ops.kkb.quickimport(filepath="B:\\Koikatsu\\Export_PMX\\20230509114050_MiuMiyanaa\\model.pmx") bpy.ops.object.hide_view_set(unselected=False) bpy.context.space_data.shading.light = 'FLAT' bpy.context.space_data.shading.light = 'MATCAP' bpy.context.space_data.shading.light = 'STUDIO' bpy.context.space_data.shading.light = 'MATCAP' bpy.context.space_data.shading.light = 'FLAT' bpy.context.space_data.shading.color_type = 'MATERIAL' bpy.context.space_data.shading.color_type = 'OBJECT' bpy.context.space_data.shading.color_type = 'MATERIAL' bpy.context.space_data.shading.color_type = 'SINGLE' bpy.context.space_data.shading.color_type = 'RANDOM' bpy.context.space_data.shading.color_type = 'TEXTURE' bpy.context.space_data.shading.color_type = 'VERTEX' bpy.context.space_data.shading.color_type = 'RANDOM' bpy.context.space_data.shading.color_type = 'MATERIAL' bpy.context.space_data.context = 'MATERIAL' bpy.context.object.active_material_index = 45 bpy.context.object.active_material_index = 44 bpy.context.object.active_material_index = 43 bpy.context.object.active_material_index = 42 bpy.ops.outliner.delete() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.shape_key_add() bpy.ops.mmd_tools.import_model(filepath="B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\model.pmx", files=[{"name":"B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\model.pmx", "name":"B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\model.pmx"}], directory="B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\model.pmx", types={'MESH', 'ARMATURE', 'MORPHS'}, scale=1, clean_model=False, log_level='WARNING') bpy.ops.mmd_tools.import_model(filepath="B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\Outfit 04\\model.pmx", files=[{"name":"B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\Outfit 04\\model.pmx", "name":"B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\Outfit 04\\model.pmx"}], directory="B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\Outfit 04\\model.pmx", types={'MESH'}, scale=1, clean_model=False, log_level='WARNING') bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.posemode_toggle() bpy.ops.object.posemode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='INVERT') bpy.ops.armature.delete() bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.armature.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.object.editmode_toggle() bpy.ops.kkb.finalizepmx() bpy.ops.kkb.shapekeys() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.object.select_all(action='DESELECT') bpy.ops.object.editmode_toggle() bpy.ops.mesh.select_all(action='DESELECT') Python: Traceback (most recent call last): File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\importbuttons.py", line 105, in execute bpy.ops.kkb.separatebody('INVOKE_DEFAULT'), File "G:\Blender\3.4\scripts\modules\bpy\ops.py", line 111, in __call__ ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo) RuntimeError: Error: Traceback (most recent call last): File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\separatebody.py", line 694, in execute clean_body() File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\separatebody.py", line 79, in clean_body separate_materials(body, tongueMats) File "C:\Users\Orokamono\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\KK-Blender-Porter-Pack-642\importing\separatebody.py", line 145, in separate_materials bpy.ops.mesh.separate(type='SELECTED') File "G:\Blender\3.4\scripts\modules\bpy\ops.py", line 113, in __call__ ret = _op_call(self.idname_py(), None, kw) RuntimeError: Error: Nothing selected bpy.ops.kkb.quickimport(filepath="B:\\Koikatsu\\Export_PMX\\20230201163616_HarunoChika\\model.pmx")