maya_test_tools
maya 测试工具包
目录
快速开始
安装
注意下方的python是你的Python, 正常情况下可以直接通过python调用, 而Maya的python一般是C:\Program Files\Autodesk<Maya版本>\bin\mayapy.exe
python -m pip install maya-test-tools
在windows下maya的安装例子
注意:
- 请将Maya路径替换为自己的。
- 请使用cmd
"C:\Program Files\Autodesk\Maya2018\bin\mayapy.exe" -m pip install cpmel
使用
打开文件
from maya_test_tools import open_file
open_file('maya file path')
在命令行下询问是否用maya gui打开当前场景.
from maya_test_tools import question_open_maya_gui
question_open_maya_gui()
版权说明
该项目签署了Apache-2.0 授权许可,详情请参阅 LICENSE
Release files for maya-test-tools 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maya_test_tools-0.1.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maya_test_tools-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / maya_test_tools-0.1.2.tar.gz
| Download URL | maya_test_tools-0.1.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95f0751e6bb40d7fcb50606c26c5689726cd6cf81c90e489d0e9486f381efb9a
|
|
BLAKE2b-256 checksum How to use checksums |
2c10755cf9d6ed1bb46859296eac6642170e7d64caa74eb8da7fc06a848f5972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / maya_test_tools-0.1.2-py2.py3-none-any.whl
| Download URL | maya_test_tools-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8257375c477a34d35e6d5692775c5485181f236cb797062376279ccff6082550
|
|
BLAKE2b-256 checksum How to use checksums |
cd28b08d06b3f61c22ee2f31be3c0a156f4e3ec81b2331ef5faae8b619231cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|