Example #1
0
def unregister():
    #import the relevant modules
    from . import (d3classes, odcutils, splint, panel, curve_partition,
                   articulator, splint_landmark_fns, model_work, tracking,
                   splint_booleans, import_export, splint_face_bow,
                   meta_modelling, articulator_handlers)

    bpy.app.handlers.save_pre.remove(save_pre_method)
    bpy.app.handlers.load_post.remove(load_post_method)
    bpy.app.handlers.frame_change_pre.remove(pause_playback)

    #bpy.utils.unregister_module(__name__)
    bpy.utils.unregister_class(D3ModelAddonPreferences)
    bpy.utils.unregister_class(D3Model_OT_addon_prefs)

    #unregister them
    d3classes.unregister()
    odcutils.unregister()

    splint.unregister()
    articulator.unregister()
    panel.unregister()
    curve_partition.unregister()
    splint_landmark_fns.unregister()
    splint_booleans.unregister()
    model_work.unregister()
    import_export.unregister()
    splint_face_bow.unregister()
    meta_modelling.unregister()
    articulator_handlers.unregister()
Example #2
0
def unregister():
    #import the relevant modules
    from . import classes, odcutils, crown, margin, bridge, splint, panel, implant, flexible_tooth#, splint, panel, odcmenus, bgl_utils
    
    bpy.app.handlers.save_pre.remove(save_pre_method)
    bpy.app.handlers.load_post.remove(load_post_method)
    
    bpy.utils.unregister_module(__name__)
    
    
    #unregister them
    classes.unregister()
    odcutils.unregister()
    crown.unregister()
    margin.unregister()
    implant.unregister()
    splint.unregister()
    bridge.unregister()
    panel.unregister()
    flexible_tooth.unregister()
    
    #odcmenus.unregister()
    #bgl_utils.unregister()
    
    if platform.system() == "Windows" and platform.release() in ['7','Vista']:
        from . import cdt
        cdt.unregister()
Example #3
0
def unregister():
    #import the relevant modules
    from . import classes, odcutils, crown, margin, bridge, splint, panel, implant, flexible_tooth  #, splint, panel, odcmenus, bgl_utils

    bpy.app.handlers.save_pre.remove(save_pre_method)
    bpy.app.handlers.load_post.remove(load_post_method)

    bpy.utils.unregister_module(__name__)

    #unregister them
    classes.unregister()
    odcutils.unregister()
    crown.unregister()
    margin.unregister()
    implant.unregister()
    splint.unregister()
    bridge.unregister()
    panel.unregister()
    flexible_tooth.unregister()

    #odcmenus.unregister()
    #bgl_utils.unregister()

    if platform.system() == "Windows" and platform.release() in ['7', 'Vista']:
        from . import cdt
        cdt.unregister()
Example #4
0
def unregister():
    #if __ in locals etc
    import odcutils, panel, healing_abutment
    bpy.utils.unregister_class(UCLAPreferences)

    odcutils.unregister()
    panel.unregister()
    healing_abutment.unregister()