/assetexchange

An asset exchange protocol implementation used by Asset Ninja.

Primary LanguagePythonMIT LicenseMIT

CLA assistant

assetexchange

An asset exchange protocol implementation used by Asset Ninja.

Python

Pack Extensions

# prerequisites
# npm and npx
brew install node
brew install coreutils

# pack extensions
cd ./py
./dist_exts.sh

# list pack result
ls -l ./dist

Pack Library for Embedding

# prerequisites
# npm and npx
brew install node

# pack library for embedding (example commands for Maya)
cd ./py
./dist_lib.sh maya myproduct_assetexchange $HOME/dev/myproduct/assetexchange.py

This is how you can use the packed library:

# Step 1: import the packed assetexchange.py
from . import assetexchange

# Step 2: now you can import the modules contained in the packed library
import myproduct_assetexchange.assetexchange_maya as assetexchange_maya

# ...