import bpy
class MI_PANEL(bpy.types.Panel):
bl_label = "Mi Panel"
bl_idname = "OBJECT_PT_mi_panel"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = 'Mi Addon'
def draw(self, context):
layout = self.layout
def register():
bpy.utils.register_class(MI_PANEL)
def unregister():
bpy.utils.unregister_class(MI_PANEL)
if __name__ == "__main__":
register()