Skip to main content

maya 测试工具包

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maya_test_tools-0.1.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

maya_test_tools-0.1.1-py2.py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page