I was following the scripting for artist tutorials on blender youtube channel. I pretty much copied what they did but i can't find the addon inside blender. The installation works fine, i can even call it in the console, but i need to find it so i can assign to a hotkey.
Im am using blender 2.90 latest build.
bl_info = {
"name": "DC Mirror",
"version": (1, 0),
"blender": (2, 90, 0),
}
import bpy
class DCMirror(bpy.types.Operator):
"""Tooltip"""
bl_idname = "object.dc_mirror"
bl_label = "DC Mirror"
def execute(self, context):
bpy.ops.object.modifier_add(type='MIRROR')
bpy.context.object.modifiers["Mirror"].show_on_cage = True
bpy.context.object.modifiers["Mirror"].use_bisect_axis[0] = True
bpy.context.object.modifiers["Mirror"].use_clip = True
return {'FINISHED'}
def register():
bpy.utils.register_class(DCMirror)
def unregister():
bpy.utils.unregister_class(DCMirror)
bl_info
and addon category. $\endgroup$