def unregister(): from bpy.utils import unregister_class for cls in reversed(classes): unregister_class(cls) VIEW3D_MT_mesh_add.remove(AchmMenu_func) # Remove properties del Scene.archimesh_select_only del Scene.archimesh_ceiling del Scene.archimesh_floor del Scene.archimesh_merge del Scene.archimesh_text_color del Scene.archimesh_walltext_color del Scene.archimesh_font_size del Scene.archimesh_wfont_size del Scene.archimesh_hint_space del Scene.archimesh_gl_measure del Scene.archimesh_gl_name del Scene.archimesh_gl_ghost # remove OpenGL data achm_main_panel.ARCHIMESH_OT_HintDisplay.handle_remove( achm_main_panel.ARCHIMESH_OT_HintDisplay, bpy.context) wm = bpy.context.window_manager p = 'archimesh_run_opengl' if p in wm: del wm[p]
def unregister(): from bpy.utils import unregister_class for cls in reversed(classes): unregister_class(cls) VIEW3D_MT_mesh_add.remove(AchmMenu_func) # Remove properties del Scene.archimesh_select_only del Scene.archimesh_ceiling del Scene.archimesh_floor del Scene.archimesh_merge del Scene.archimesh_text_color del Scene.archimesh_walltext_color del Scene.archimesh_font_size del Scene.archimesh_wfont_size del Scene.archimesh_hint_space del Scene.archimesh_gl_measure del Scene.archimesh_gl_name del Scene.archimesh_gl_ghost # remove OpenGL data achm_main_panel.ARCHIMESH_OT_HintDisplay.handle_remove(achm_main_panel.ARCHIMESH_OT_HintDisplay, bpy.context) wm = bpy.context.window_manager p = 'archimesh_run_opengl' if p in wm: del wm[p]
def unregister(): bpy.utils.unregister_class(AchmInfoMtMeshCustomMenuAdd) bpy.utils.unregister_class(AchmInfoMtMeshDecorationAdd) bpy.utils.unregister_class(achm_room_maker.AchmRoom) bpy.utils.unregister_class(achm_room_maker.AchmRoomGeneratorPanel) bpy.utils.unregister_class(achm_room_maker.AchmExportRoom) bpy.utils.unregister_class(achm_room_maker.AchmImportRoom) bpy.utils.unregister_class(achm_door_maker.AchmDoor) bpy.utils.unregister_class(achm_door_maker.AchmDoorObjectgeneratorpanel) bpy.utils.unregister_class(achm_window_maker.AchmWindows) bpy.utils.unregister_class( achm_window_maker.AchmWindowObjectgeneratorpanel) bpy.utils.unregister_class(achm_roof_maker.AchmRoof) bpy.utils.unregister_class(achm_column_maker.AchmColumn) bpy.utils.unregister_class(achm_stairs_maker.AchmStairs) bpy.utils.unregister_class(achm_kitchen_maker.AchmKitchen) bpy.utils.unregister_class(achm_kitchen_maker.AchmExportInventory) bpy.utils.unregister_class(achm_shelves_maker.AchmShelves) bpy.utils.unregister_class(achm_books_maker.AchmBooks) bpy.utils.unregister_class(achm_light_maker.AchmLamp) bpy.utils.unregister_class(achm_curtain_maker.AchmRoller) bpy.utils.unregister_class(achm_curtain_maker.AchmJapan) bpy.utils.unregister_class(achm_venetian_maker.AchmVenetian) bpy.utils.unregister_class( achm_venetian_maker.AchmVenetianObjectgeneratorpanel) bpy.utils.unregister_class(achm_main_panel.ArchimeshMainPanel) bpy.utils.unregister_class(achm_main_panel.AchmHoleAction) bpy.utils.unregister_class(achm_main_panel.AchmPencilAction) bpy.utils.unregister_class(achm_main_panel.AchmRunHintDisplayButton) bpy.utils.unregister_class(achm_window_panel.AchmWinPanel) bpy.utils.unregister_class(achm_window_panel.AchmWindowEditPanel) bpy.utils.unregister_class(Archi_Pref) VIEW3D_MT_mesh_add.remove(AchmMenu_func) # Remove properties del Scene.archimesh_select_only del Scene.archimesh_ceiling del Scene.archimesh_floor del Scene.archimesh_merge del Scene.archimesh_text_color del Scene.archimesh_walltext_color del Scene.archimesh_font_size del Scene.archimesh_wfont_size del Scene.archimesh_hint_space del Scene.archimesh_gl_measure del Scene.archimesh_gl_name del Scene.archimesh_gl_ghost # remove OpenGL data achm_main_panel.AchmRunHintDisplayButton.handle_remove( achm_main_panel.AchmRunHintDisplayButton, bpy.context) wm = bpy.context.window_manager p = 'archimesh_run_opengl' if p in wm: del wm[p]
def unregister(): for module_class in archlab_modules: bpy.utils.unregister_class(module_class) VIEW3D_MT_mesh_add.remove(ArchLabMeshMenu_func)