Thanks for the catch guys – I will definitely look into the memory leak problem when I get back to the studio in January.
That is most definitely a big problem.
If you create a plane and specify the number of segments, the plugin always multiplies the specified number of segments by four.
obj = mxs.plane()
obj.lengthsegs = 1
obj.widthsegs = 1
creates a plane with 4×4 segments instead of 1×1.
The same code in maxscript works correctly:
obj = plane()
obj.lengthsegs=1
obj.widthsegs=1
so I assume there is a little bug in blurPython.
Are you basing that off the visible scene item?
Python won’t refresh your scene – a max plane is built with a default of 4×4, if you add an mxs.redrawViews() it might fix your problem.
At any rate – that exact chunk of code works exactly as expected for me…
Could you let me know what version of the plugin & 3dsMax you are running? x32/x64 as well?
Thanks
You are right… I can’t reproduce it this morning. Hm… Maybe I got Max into some confused state, I don’t know.
Anyway, sorry for the confusion, and thanks for your patience!
While I applaud the effort, i think i’ll leave this alone and come back to it later. It’s been a complete disaster for me – it overwrote my plugin.ini, and the base python install let alone any of the modules was touch and go as to whether it worked or not. That, and the Max plugin didn’t ever load.
Trying to get these tools up and running in max, but keep running in to this error. Any help? (Vista_x64/Max2010_x64)
MAXScript Mini ListenerTraceback (most recent call last):
File "C:\Program Files\Autodesk\3ds Max 2010\scripts\python/_startup.py", line 20, in <module>
import blur.wingui
ImportError: No module named blur.wingui
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2010\scripts\startup\init_python.ms; position: 2341; line: 67
-- Frame:
-- scriptPath: "C:\Program Files\Autodesk\3ds Max 2010\scripts\python"
-- subMenuIndex: undefined
-- pyMenu: undefined
-- loggerACT: undefined
-- newScriptACT: undefined
-- menuBar: undefined
-- runScriptACT: undefined
-- openScriptACT: undefined
-- subMenuACT: undefined
-- Error occurred during fileIn in <File:C:\Program Files\Autodesk\3ds Max 2010\scripts\startup\init_python.ms>
>> MAXScript Auto-load Script Error - C:\Program Files\Autodesk\3ds Max 2010\scripts\startup\init_python.ms Exception: -- Runtime error: Python Exception: Traceback printed in listener. <<
you need to make sure that your python path is registered properly – by default, our x64 installs will install the blur module to:
c:/python26_64/lib/site-packages/blur
odds are though, if you are using a standard python26 x64 installation, your path is:
c:/python26/lib/site-packages/
You should be given the option to switch the paths when you run the installer, but if you didn’t this might be the cause…if it is, you can just copy everything from:
c:/python26_64 >> c:/python26
Hey guys,
I have just put latest (and much more stable) builds up for all versions of 3dsMax (x32/x64) on the blur-dev website.
I’ve also finished cleaning up all the source code for the blurPython.dlx, and that is now available on the website as well.
I just gave this installers to a guy working with 3dsMax 2010 x64 on Windows 7, and it all worked for him just fine…so fingers crossed.
http://blur-dev.googlecode.com/
Eric
Wow… I really don’t have a life… lol Thx for the update!
also, any word on blurdlx?