-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathREADME
More file actions
40 lines (24 loc) · 851 Bytes
/
README
File metadata and controls
40 lines (24 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## 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.