I added a page to my site, which points to some public GitHub repositories i own.
Tag Archives: maya
3D modelling videos – Hummer H1
i was teaching at university few years back, and one of the 3D modelling demos that i was going over was advanced modelling techniques for graduate students. Β It spanned over a course of few weeks, where each Saturday we had a 2 hour sessions going over steps to model a 3D Car. The car was selected by popular vote (where i was the one calling the results), so H1- HUMMER won:) (i had most references for it collected head of the time). All of the sessions were screencaptured, and i had posted them on my YouTube a while ago, but just recently going through my videos there found that i had them sorted into a play list. I think i am missing few final videos, where i go render the car and doing some final touch-up work:)
see it for yourself, it also is accompanied by nice tunes (imho)
Maya Open/Close CommandPort
This is a pretty popular code snippet that i am rather reposting for my own sake, as i always have to google for it online, and i find some of the code being modified here and there, so i am posting my own version on my own blog. that i have modified for my own purposes π and if anyone happens to see this: enjoy π
import maya.cmds as cmds # Close ports if they were already open try: cmds.commandPort(name=":7001", close=True) except: cmds.warning('Could not close port 7001') try: cmds.commandPort(name=":7002", close=True) except: cmds.warning('Could not close port 7002') # Open ports try: cmds.commandPort(name=":7002", sourceType="python") except: cmds.warning('Could not Open port 7002') try: cmds.commandPort(name=":7001", sourceType="mel") except: cmds.warning('Could not close port 7001')