Collection of Python modules to write DCC tools in a DCC agnostic way.
Project description
Collection of Python modules to write DCC tools in a DCC agnostic way.
When working with specific DCCs, tpDccLib will auto import proper modules and will use DCC specific implementations.
Installation
Manual
1. Clone/Download tpDccLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file). 2. Copy tpDccLib folder located inside source folder in a path added to sys.path
Automatic
Automatic installation for tpDccLib is not finished yet.
DCC Implementations
At this moment following DCCs are supported:
3ds Max: https://github.com/tpoveda/tpMaxLib
Blender: Work in Progress
During tpDccLib initialization, if DCC specific implementation package is found in sys.path, tpDccLib will automatically detect it and will import it.
Usage
Initialization Code
tpDccLib must be initialized before being used.
import tpDccLib
tpDccLib.init()
Reloading
For development purposes, you can enable reloading system, so you can reload tpDccLib sources without the necessity of restarting your Python session. Useful when working with DCCs.
import tpDccLib
reload(tpDccLib)
tpDccLib.init(True)
Enabling debug log
By default, tpDccLib logger only logs warning messages. To enable all log messages you can set TPDCCLIB_DEV environment variables to ‘True’
import os
os.environ['TPDCCLIB_DEV'] = 'True'
import tpDccLib
tpDccLib.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
Hashes for tpdcclib-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a271cf38cda3ba95a8e9e2e643b89f8df525f244dcc107d6a4b4331ea7253cca |
|
MD5 | a9a5df1519f94c58da9bb27ce56d11fa |
|
BLAKE2b-256 | a79d870d915f1af9c6fee7364f510114241df4031eaad53249b0069c9e86542a |