Python version for maya and other 3d applications

I have some small projects that I want to use to learn python. Which version should I use if I want to move on to scripting for Maya, Blender, etc. Later? Also, what are the scripting resources for these programs?

+3
source share
3 answers

If you are using Maya 2011, it comes bundled and tied to py 2.6.4. You do not need a separate installation, even for pyMEL.

If you want to learn Python on your own before applying knowledge to a 3D application, then pretty much any Python 2.x will do, version-specific functions come into play for a while if you are on your first steps. 2.6.4, although, of course, it will be a good choice, as it will be consistent with what you can use in Maya and Softimage directly from the gate.

Stay away from py3k, since adoption in our area seems to be a long way off.

In terms of resources, for Python and Maya together, there’s practically nothing, but most of the programming-oriented material I’ve seen has been published to the extent that only a few notable exceptions, such as Gould’s stuff, are usually between overwhelming and simple amateurish .

, , ( O'Reilly, Python ), , StackOverflow , , , API- Maya.

pyMEL, , . , , , Pythonic, . pyMEL, 100% , , .

+5

, Maya 2011 Python 2.6.4. , Maya Python (;-) Maya ( AFAIK; -).

( , , blender.org ) , Blender 2.49b Windows Python 2.6, Linux, Irix Solaris , MacOSX PowerPC Python 2.3 MacOSX intel 2.3 2.5.

Blender 2.5.4, . - Python, .

" .." - "3D-", - .

IOW, , 3d ! Python 2.5 Maya Blender (, Blender 2.49b MacOSC PowerPC, Python 2.3); Python 2 , , 3d-, () Python 2.6, , , Python 2.5 , ( ), , Python 2.6, , - 2.5 ; -).

+2

, Python. , ThE_JacO 3D-. Maya, Pixar RenderMan, Houdini, Blender, Realflow,... Python 2.x. Python 2.4, 2.5 2.6 . .

In our studio, we code Python scripts to work in versions 2.4, 2.5 and 2.6, because we use different versions of 3D applications for different animation projects. Some pieces of code need modulation to make everything work well, but they really are minor issues.

+2
source

Source: https://habr.com/ru/post/1767989/


All Articles