Call for Python tutorials

864 votes

I've been seeing a lot of discussion about using Python with 3ds Max for quite a while now... I'd love to get some resources up describing Python - 3ds Max integration / workflow / processes. If you've got or would write a beginner tutorial or even an advanced tutorial, please share it with the community!

Some questions to get the ball rolling... What is Python? How does it compare to MAXScript? Why should someone use Python? Is Python best for end users or developers? How do you create a simple "hello world" Python script?


FYI - for those that are curious, here's a great thread on cgtalk about MAXScript & Python.




Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
durke12's picture

Thanks for all the help you

Thanks for all the help you provide guys, but python is a bit over my capabilities at this moment.

loocas's picture


We cooked up a Python bridge for 3ds Max users and have successfully deployed it at several studios, including Pixomondo, that use it mainly for connecting to Shotgun etc. The sole purpose of duberPython was to be able to directly communicate with Python pipeline tools, such as Shotgun, Tactic etc...

Please, take a look at a few examples of this:

AurasmaTD's picture

Python SSSSSssssssss....

I would like to see a Python intergration with max. I have been using Python and MEL for a while and like the ease in which that transition was made. The only thing I would like to see would be documentation that is on a par with the MAYA MEL documentation. Sometimes the information in MaxScript help is a little confusing and has no real examples. Also, when I turn the Macro recorder on, I would expect to see the commands executed, not just the names of the macros. Its a pain in the bum to have to copy the macro and then rename it, then look for the code , then something else etc etc etc. when MEL just shows all the elements being executed, making it far easier to understand and correlate between the code and the help file. Maxscript also has a propensity to make you do things the long way and has, at times, a methodology that requires more code to achieve a result that takes far less syntax in MEL. I am not trying to diminish Maxscript, I use it a lot and have created some great tools with it, I just feel that as the rest of the program has a nice learning curve, the scripting element should also reflect that ease of learning.

When all else fails and it looks like you cant finish, just suck it up and get it done.

gentos's picture

very interesting ...

very interesting ...

shayanzoro's picture
jedie's picture

replace maxscript with python

Everyone who will see Python in 3dsmax should vote here:

EdgyDesign's picture


To me Python seems pretty complex. While I appreciate the possibilities the complexity makes me shy away. So I would appreciate some basic beginners guide and especially how it compares to MAXScript. Thank you guys for all the links!

Gefenzync's picture



roxanne's picture

I am only new in making

I am only new in making scripts and still learning things. I find this website a very helpful one. About your favor, I want to help you also with some resources for Python with 3d max. I used this once and it is quite effective. Here: . Hope it will help you also.

diatom's picture

Blur provides a way to

Blur provides a way to integrate python into max.
This is a challenging install, but as of now, the best and maybe only way to use python in max.
After a considerable effort, I finally managed to get it all working. Their documentation is not perfectly clear just yet. To make it easier for everyone, here is a step by step that did work for me.
I installed on XP 64bit using max 2009.

1) install python for win 64

rename Python26 to Python26_64

open python IDLE just to be sure it is working. run as a test. f5 to execute.

2) install visual studio 2008 - commercially available from microsoft,
or alternately install the open source version MinGW

3) install Qt
read this for installation instructions
if you installed visual basic use this -> Qt libraries 4.6.2 for Windows (VS 2008, 194 MB)
if you installed MinGW use -> Qt libraries 4.6.2 for Windows (minGW 4.4, 278 MB)

4) copy max to c:/max2009_x64 - blur has hardcoded their paths to this location.
open plugin.ini and InstallSettings.ini. edit paths to reflect this new location.
you may have to reinstall max to this location. I did, after i ran into a problem.

5) download and run these "blur core" files
this installs blurs core plugins and scripts. Be sure to read the readme and clean up the details.
install blur's directory structure for projects. It migth help to make their scripts work better but maybe not necessary.

6) install Blur DLLs for 3dsMax Blur Libraries Python26 x64
Let it install it at the default location, which will be c:\max2009_x64\ and c:\python26_64\
this installs blur's plugins, dlx etc and maxscripts

7) install blur's PyQT PyQt4_gpl_4.6.1-Py2.6-win32-msvc2008_64.exe -- Blur PyQt x64 Libs (Python26)
PyQt is the pythonic bindings to the Qt framework - opening up all that amazing power of Qt to the Python language.

8) install QT dlls qt_install_4.5.2-1_win32-msvc2008_64.exe
Output folder: C:\windows\system32\blur64

9) install blur_pyqt_modules
Output folder: C:\Python26\\Lib\site-packages\blur

10) install Python for 3ds Max 2009 x64 (Python26)
this installs into the max folder and the python folder..

installs some .pyd files - dlls that make python work in max - socket.

hopefully it will be working at this point.
Fire up Max and look for the python menu.

hope that helps


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.