MetaFusion/scripts/ui/mesh_utils.py

116 lines
1.9 KiB
Python
Raw Normal View History

2025-02-06 19:49:53 +08:00
#!/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. Model Manager Class =====================================
@staticmethod
def load_custom_models(): pass
@staticmethod
def create_lod(): pass
@staticmethod
def auto_load_models(): pass
@staticmethod
def standardize_naming(): pass
@staticmethod
def auto_group(): pass
@staticmethod
def split_mesh(): pass
@staticmethod
def generate_facial_accessories(): pass
@staticmethod
def fix_split(): pass
@staticmethod
def fix_normals(): pass
@staticmethod
def fix_vertex_order(): pass
@staticmethod
def fix_seams(): pass
@staticmethod
def clean_options(): pass
@staticmethod
def import_skeleton(): pass
@staticmethod
def create_skin(): pass
@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