From 920d1735a977acd9c7a6919bce5e620b197ffa13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Albert?= <89812691+sebasti1a@users.noreply.github.com> Date: Wed, 15 Dec 2021 10:22:42 +0100 Subject: [PATCH] Update Readme - add Installation and Usage --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 33f60e2a..385ed9dc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,21 @@ USD Pre-built Libraries for windows are released : - [usd-21-11-win64_py39](https://github.com/LoopsCreativeStudio/usd_prebuilt_libraries/releases/tag/usd-21-11-win64_py39) ( USD 21.11, Python 3.9 ) Compatible with **Blender 3.0** - [usd-21-05-win64_py37](https://github.com/LoopsCreativeStudio/usd_prebuilt_libraries/releases/tag/usd-21-05-win64_py37) ( USD 21.05, Python 3.7 ) Compatible with **Blender 2.92** -# NVIDIA, other versions : +# Installation : + +Add *"C:\usd-21-11-win64_py39\lib\python"* in your environment variable **PYTHONPATH** + +# Usage : + +In Blender 3.0 or Python 3.9, you can test if the python module works with this command: +```python +from pxr import Usd +stage = Usd.Stage.Open('path_to_file.usd') +``` +More exemples here : https://developer.nvidia.com/usd/tutorials + + +# NVIDIA, other prebuilt versions : - https://developer.nvidia.com/usd # USD PIXAR :