Skip to main content

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的安装例子

注意:

  1. 请将Maya路径替换为自己的。
  2. 请使用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)

Source distribution for maya-test-tools 0.1.2
File Size Uploaded
maya_test_tools-0.1.2.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maya-test-tools 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page