Maya implementation for tpDccLib and tpQtLib. Utils functions to work with Maya Python APIs.
Project description
Maya implementation for tpDccLib and tpQtLib packages.
Also, this module contains a lot of utilities functions and classes to work with Maya Python APIs (cmds and OpenMaya)
Installation
Manual
1. Clone/Download tpMayaLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file).
Copy tpMayaLib folder located inside source folder in a path added to sys.path
Automatic
Automatic installation for tpMayaLib is not finished yet.
Usage
Initialization Code
1. If tpDccLib or tpQtLib packages are being used, tpMayaLib will be automatic imported during the initialization of those packages. 2. If tpDccLib and tpQtLib are not found in your sys.path, you will need to initialize manually tpMayaLib.
import tpMayaLib
tpMayaLib.init()
Reloading
For development purposes, you can enable reloading system, so you can reload tpMayaLib sources without the necessity of restarting your Python session. Useful when working with DCCs.
If tpDccLib and tpQtLib packages are being used, tpMayaLib will be automatic reload by tpDccLib and tpQtLib reload systems.
If tpDccLib and tpQtLib are not found, you will need to reload tpMayaLib manually.
import tpMayaLib
reload(tpMayaLib)
tpMayaLib.init(True)
Enabling debug log
By default, tpMayaLib logger only logs warning messages. To enable all log messages you can set TPMAYALIB_DEV environment variables to ‘True’
import os
os.environ['TPMAYALIB_DEV'] = 'True'
import tpMayaLib
tpMayaLib.init()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tpmayalib-0.0.17.tar.gz
.
File metadata
- Download URL: tpmayalib-0.0.17.tar.gz
- Upload date:
- Size: 217.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ad4e3716e461feaca258da223bfef7cef36c07133147fc293227a4c6d7043b9 |
|
MD5 | 0897c3977f0386d18397ac322f5ac3cd |
|
BLAKE2b-256 | c1207126c3a6101d77156607fff56a9b468d57c612e2a68c228e0182de205b3d |
File details
Details for the file tpmayalib-0.0.17-py3.6.egg
.
File metadata
- Download URL: tpmayalib-0.0.17-py3.6.egg
- Upload date:
- Size: 624.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b1b31abf705e0e0790974c99ba35cc12aee5b99ccc3dfc51f05aacf5f01bcf |
|
MD5 | c881eb7b72d863786663d9099a042b44 |
|
BLAKE2b-256 | c8ab02b66faf40922b95d0024385164d685149ebb5f83e3e8bee7a90435cfad1 |