hi freind
can any tell me on how to get a hand on python and use it with maya.
leaning python and use it with maya
- For starters, you need to set python path inside your maya.env file. Something like this for windows version:
PYTHONPATH = C:\Program Files\Autodesk\MayaBonusTools8.5\python
Just to save you half an hour of tearing hair.
- Next get bonus tools for maya 8.5 to get ALL 3 of the new script included.
Maya python Links:
http://area.autodesk.com/custom/?id=4508
Small Maya google gloop:
http://groups.google.ca/group/mayapython?lnk=srg&hl=en
They have few very nice advices to start, so check them out.
Lutz Pälike, genius:
http://mayapython.fxcenter.de/start.htm
And his plugin for older versions of maya:
http://www.highend3d.com/maya/downloads/plugins/utility_external/misc/3433.html
- Start learning Python, this is place to start, I guess:
http://www.python.org/
Free book “Dive into python” in PDF, html, doc, text, etc. format, in several languages:
http://www.diveintopython.org/
Go shoping… or similar and buy lot’s of lot’s of python books:
http://www.amazon.co.uk/Beginning-Python-Novice-Professional/dp/159059519X/ref=pd_bbs_sr_1/026-2208852-0539663?ie=UTF8&s=books&qid=1177451668&sr=8-1
4. Get some editor you will you use with python. There is discussion in MEL section about this, but it’s either IDLE which comes with python distribution, or Eclipse.
Choose weaphon of choice:
http://wiki.python.org/moin/PythonEditors
- Check other packages which use python and steel their ideas. Cough, Cough, Ekhem, learn from them.
Like blender:
http://www.blender.org/tutorials-help/python/
http://www.blender.org/download/python-scripts/
XSI:
http://softimage.wiki.avid.com/index.php/Python_(XSISDK)
Caligari Truespace, Realflow already, Paint Shop Pro?, Houdini in next version,
- Python & 3D in general:
http://www.vrplumber.com/py3d.py
http://en.wikipedia.org/wiki/Python_software
- Get a cool job using python:
http://www.onlamp.com/pub/a/oreilly/python/news/disney_0201.html
Find out more about meaning of life from Monthy Pythons
http://en.wikipedia.org/wiki/Monty_Python
Good luck
Als
PS please let me know if some of those links doesn’t work.
i installed phyton according to this instructions
but now already the second example (and any other) in
http://cgkit.sourceforge.net/maya_tutorials/intro/#id2
gives me this:
pySource helloworld1;
Error: (‘invalid syntax’, (’<maya console>’, 2, 20, 'pySource helloworld1;
'))
File “<maya console>”, line 1
pySource helloworld1;
^
SyntaxError: invalid syntax
However maya docs exmaple run.
i.e.
import maya.cmds as cmds
cmds.polyCube( sx=10, sy=15, sz=5, h=20 )
what did i do do wrong?
http://cgkit.sourceforge.net/maya_tutorials/intro/#id2
is not related to the autodesk phyton in maya thing
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.