28 lines
739 B
Python
28 lines
739 B
Python
bl_info = {
|
|
"name": "ComfyUI Model Generator",
|
|
"author": "URage",
|
|
"version": (1, 0, 0),
|
|
"blender": (4, 2, 0),
|
|
"location": "View3D > UI > ComfyUI",
|
|
"description": "Generate 3D models using Hunyuan3D-V2 via ComfyUI server",
|
|
"category": "3D View"
|
|
}
|
|
|
|
import bpy
|
|
from . import operators
|
|
from . import ui_panel
|
|
|
|
classes = operators.classes + [ui_panel.ComfyUIPanel, operators.ComfyUIPreferences]
|
|
|
|
def register():
|
|
operators.register_scene_props()
|
|
for cls in classes:
|
|
bpy.utils.register_class(cls)
|
|
operators.start_queue_timer()
|
|
operators.init_addon_preferences()
|
|
|
|
def unregister():
|
|
for cls in reversed(classes):
|
|
bpy.utils.unregister_class(cls)
|
|
operators.unregister_scene_props()
|