A library of USD graphs/nodes for use inside NXT with some simple USD examples.
- Please insure that you have both NXT and USD setup on your pc.
- How to use the USD library nodes: Example
We are adopting the PEP-8 style for Python Code with the following modification:
- Mixed-case for variable and function names are allowed
These graphs have been tested on Centos 7.7 and Windows 10
The following dependencies are required:
- Python It is python 2.7 and 3.7 compatible.
- Please see NXT and USDs documentation for their dependencies.
usdview
Making a nxt.sh for linux:
#!/usr/bin/bash
# PATH TO USD
export PYTHONPATH="$PYTHONPATH:PATH/TO/USD/lib/python"
export PATH="$PATH:PATH/TO/USD/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:PATH/TO/USD/lib"
# NXT ROOTS
export NXT_FILE_ROOTS="/path/too/work/space"
# Run NXT
nxt ui
This can now be run in terminal: ./nxt.sh
For windows I add my usds paths to my windows path and pythonpath as instructed, then it to work as expected.