目录
maya打开脚本编辑器
打开Maya软件,点击右下角 “脚本编辑器”
运行打开bvh脚本,复杂的bvh导入好像有问题
https://github.com/jhoolmans/mayaImporterBVH/blob/master/bvh_importer.py
import os
import re
from typing import Optional
import maya.cmds as mc
space_re = re.compile(r"\s+")
# This maps the BVH naming convention to Maya
translationDict = {
"Xposition": "translateX",
"Yposition": "translateY",
"Zposition"