This is a sample repository which has been set up to run Jupyter notebook examples from the MaterialX Learn repo
There is currently a single notebook which contains parts of the JSON serialization notebook as a test.
The devcontainer.json file includes a startup command to install package dependencies from the requirements.txt. This file includes minimally the IPython and MaterialX packages.
Please see the hosting document information about hosting and differences between hosting on Github Codespaces vs Google Colab.
For the Colab, recommended additional setup information is included for the sample notebook to clone this repo and perform MaterialX installs fron PyPi. For Codespaces, a new space only needs to be created from your own repo as mentioned above.
Users can create a new repo or fork from this repo as a starting point and copy over whatever content they wish from the Materialx Learn repository or create their own.
If using MaterialX Learn notebook examples, it is advisable to copy over the mtlxutils subfolder from the pymaterialx folder which contains the various notebooks as some notebooks depend on Python utilitues from that folder.