| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| SimCore.py | 2013-02-03 | 9.0 kB | |
| README.txt | 2013-02-03 | 1.0 kB | |
| dumperSim.ma | 2013-02-03 | 880.0 kB | |
| Totals: 3 Items | 890.1 kB | 0 | |
######################################################
Besjan Xhika
bxhika.wordpress.com
######################################################
1. Copy the folder 'dumperSim' to Desktop
######################################################
2. Open 'dumperSim.ma'
######################################################
3. In a Python tab execute these lines of code
----------------------
import os, sys
home = os.getenv('HOME')
user = os.getenv('USER')
sys.path.append(os.path.join(home[:home.find(user)], user, 'Desktop\dumperSim'))
sys.path.append('C:/Python26/Lib/site-packages/')
import SimCore
# Set simulation time in seconds, default is 500
simTime = 1000
# Run simulation
SimCore.main(simTime)
----------------------
######################################################
4. Wait for Maya to run the script and create the animations
######################################################
5. Play
######################################################