Both SkinMagic and SpringMagic now got Py3 version, for Maya 2022 and newer Maya version
because Pymel not a default module in new Maya anymore, so if you met error like:
# Error: ModuleNotFoundError: file C:\Users/Administrator/Documents/maya/2023/zh_CN/scripts\springmagic\ui.py line 9: No module named ‘pymel’
Plz follow the instructions here
https://forums.autodesk.com/t5/maya-programming/maya-2022-pymel-how-to-import/td-p/10409310
Plz comment in tools page if any question
Thanks!
Yanbin
你好,SkinMagicPY3版本出现了平滑无法使用得问题。
已经解决了,谢谢
是因为没有选择点么?
不是,因为2022后面的maya版本选择了最大骨骼权重控制数是1,后面需要自己修改成5
Thank you so much for updating the script on PY3!
I have 2 problems with the new version:
1) It’s not possible to export and import weights via “vertex weight data”, it gives an error – # Error: AttributeError: file line 2935: Can’t pickle local object ‘prepareExprotVertexData..’ OR # Error: TypeError: file line 3060: ‘dict_keys’ object is not subscriptable
2) While the script is running, it is not possible to take a step back using Ctrl-Z. I have to turn-off the script for it to work
i fixed import & export skin weight issue, just re-download py3 version to confirm
the undo issue is a bit more work, will not solve in short term
thx for the reporting
你好老师,和上面遇到一样的问题运行代码的时候提示:# Error: ModuleNotFoundError: file D:\sheji\maya\2022\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py line 142: No module named ‘springmagic’,希望老师解答疑惑,万分感谢。
你好老师,安装2022后,按照上述步骤一一操作还是提示:# 错误: RuntimeError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\pymel\internal\pmcmds.py line 217: 找不到文件“C:/Users/Administrator/Documents\Documents\maya\scripts\skinMagic\skinMagic.ui”。 # ,希望老师解答疑惑,万分感谢。
我也遇到这个问题
“C:/Users/Administrator/Documents\Documents\maya\scripts\skinMagic\skinMagic.ui”
这个路径看着不太对,比如中间有两个 Documents\Documents