MetaFusion/scripts/ui/rigging_utils.py
2025-02-06 19:49:53 +08:00

113 lines
2.0 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#===================================== 1. Module Imports =====================================
import maya.cmds as cmds
import maya.mel as mel
import os
from scripts.config import data
try:
from PySide2 import QtCore, QtGui, QtWidgets
from shiboken2 import wrapInstance
except ImportError:
try:
from PySide6 import QtCore, QtGui, QtWidgets
from shiboken6 import wrapInstance
except ImportError:
try:
from PySide import QtCore, QtGui, QtWidgets
from shiboken import wrapInstance
except ImportError as e:
QtCore = QtGui = QtWidgets = None
wrapInstance = None
#===================================== 2. Rigging Manager Class =====================================
# 菜单
@staticmethod
def export_skin(): pass
@staticmethod
def import_skin(): pass
@staticmethod
def copy_skin(): pass
@staticmethod
def create_rbf_deformer(): pass
@staticmethod
def quick_bind_clothing(): pass
@staticmethod
def clone_blendshape(): pass
@staticmethod
def transfer_uv_order(): pass
@staticmethod
def create_face_controller(): pass
@staticmethod
def extract_52bs(): pass
@staticmethod
def fix_joint_orientation(): pass
@staticmethod
def create_body_controller(): pass
@staticmethod
def import_face_animation(): pass
@staticmethod
def import_body_animation(): pass
# 预设
@staticmethod
def update_dna_button(): pass
@staticmethod
def export_preset(): pass
@staticmethod
def import_preset(): pass
@staticmethod
def load_project_dna(): pass
@staticmethod
def load_preset(): pass
@staticmethod
def data_layer(): pass
@staticmethod
def overwirte_description(): pass
# 描述
@staticmethod
def create_description(): pass
@staticmethod
def clear_preview(): pass
@staticmethod
def import_skeleton(): pass
@staticmethod
def create_binding(): pass
@staticmethod
def create_skin(): pass
@staticmethod
def import_preview(): pass
@staticmethod
def create_preview(): pass
@staticmethod
def load_dna(): pass