jjburton/cgmTools
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
## Installation To install `cgmTools`, follow these steps: ### 1. Clone the Repository Open a terminal and run: ``` git clone https://github.com/jjburton/cgmTools.git ``` ### 2. Set Up the Environment You’ll need to add the `cgmTools` directory to your Python or Maya script path. #### For Maya 1. Locate your `maya.env` file. Common locations: - **Windows:** Documents/maya/<version>/maya.env - **macOS/Linux:** ~/Library/Preferences/Autodesk/maya/<version>/maya.env 2. Add this line to the file, replacing the path with where you cloned the repo: ``` PYTHONPATH=/path/to/cgmTools ``` ### 3. Launch Maya Once Maya starts, verify installation by running this in the Script Editor (Python tab): import cgm print(cgm.__path__) If installed correctly, it will print the path to the `cgmTools` directory.