Notifications
Clear all

[Closed] Python and PyQt in 3dsMax

Ok so here we go – we at Blur had released a plugin about a year ago that began exposing Python functionality to Maxscript…

We since decided that it was not good enough.

We have developed a way to run Python as a complete replacement of Maxscript in 3dsMax, utilizing Python and PyQt to develop tools, we’re hoping to revolutionize the ability to develop fast, efficient and powerful utilities.

All the information you need to get going can be found at our new development website:

http://blur-dev.googlecode.com

Please feel free to post on the wiki pages for requests, bugs, and comments. Its still very beta and are looking forward to trying to make this the new future of programming in 3dsMax.

Please keep in mind – this is very much beta, and the code is as-is, but we will appreciate feedback as it’ll make our own code more stable.

Enjoy!

Eric Hulser
Tools Developer
Blur Studio

189 Replies

BAD ASS! Been waiting for this for a while now… as you know by how often I’ve bugged you – no, I don’t have a life, thanks for reminding me!

–Great work, I think this will open a lot more doors for max / max users… can’t wait to start doing some serious stuff with it!

Wow! Awesome stuff!
Thanks for sharing
Mike

This is brilliant! I have been holding off on the whole python in max via com business mainly because of the lack of solid integration. I will be investigating this asap for sure.

Thanks a million!

Absolute gread idea!!!

I try the 64bit version for 3dsmax2009…

My AntiVir Guard alerts while i install Blur3dsMax2009_x64_install_8275.exe !
The File “C:\blur\dev\offline\code\maxscript reegrunt\Lib\blurSubmit.ms” whould have a script virus “HTML/Silly.Gen”

Seems to be a false alarm, see:
http://virscan.org/report/e9866806a066b2ac4aaa284aa226d425.html
http://www.virustotal.com/de/analisis/5bd1f2897bf3a72fe47798f4393dc062a9c097b550f3b90a61c6c1c09321bebf-1255679004

@ehulser: Please activte the bug tracker on google code!

EDIT: I have installed Python 2.6 64Bit (ActiveState one), after this i installed Blur3dsMax2009_x64_install_8275.exe and than Py3dsMax2009_python26_x64_install_8666.exe
I started 3dsmax2009 64Bit and can’t see the python menu item

EDIT2: Sorry, i found http://code.google.com/p/blur-dev/wiki/KnownIssues and the issues with the hardcoded path.
After i copied all files, i get this error on 3dsmax 2009 64Bit startup:


MAXScript Auto-load Script Error – C:\Program Files\Autodesk\3ds Max 2009\stdplugs\stdscripts\blurStartupMaxLib.ms Exception

– Syntax error: at imgTagPlus, expected <rollout control>
– In line: imgTagPlus u

OK

I run blurStartupMaxLib.ms in the maxscript editor and get this in the listener: http://paste.pocoo.org/show/145231/

EDIT3: I tried to install Blur Libs, but i get this error:


Blur Libs 1.0.0 win32-msvc2008_64 Setup

Error opening file for writing:

C:\windows\system32\blur64\stone.dll

Bat idea to install in C:\windows\system32\ (I’m using Vista 64Bit)

EDIT4: Sorry again. I installed “BlurBeta Tools” and found in the readme.txt the TroubleShooting section for MAX Users. The error was, i doesn’t insert the path in plugin.ini correctly.

Great news Eric!

We will develop tools with Py3dsMax and the integration of Qt. Sure we will send feedback.

Are you planning a Max 2010 build in the near future ?

OK, after a log road of installations and manuel copy things from one location to a other location, i see the Python main menu entry in 3dsmax 2009 64Bit

But it doesn’t work well.

I can open the Python Logger. But the menu points “new”-, “open”- and “run” python script doesn’t work. I get this Tracebacks:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'QApplication' object has no attribute 'openScript'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'QApplication' object has no attribute 'newScript'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'QApplication' object has no attribute 'runScript'

In the Python Logger menu under File i get this error on “open script”

Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\blur\wingui\__init__.py", line 83, in openScript
    fileName = str( QFileDialog.getOpenFileName( PyQWinHook.core, 'Open Script File', LAST_FILENAME, 'Python Files (*.py);;All Files (*.*)' ) )
NameError: global name 'PyQWinHook' is not defined

But PythonLogger/NewScript and PythonLogger/RunScript works!

EDIT: A other question: You tools are under GPL. But why you are not open the subversion server or use SVN from google code? I would like to checkout and help if i can.

 PEN

Very nice. I look forward to having a go at this when the current project is out of the way.

:bowdown:

Perfect timing… I was just starting to dive into the whole python thing.

Thanks a bunch.

HUGE news! Thanks!

Ian, I guess this means you won’t be using dotNet as much.

Edit: Might be good to have a PyQT sticky soon…!

Page 1 / 17