I believe that pyWin can be found here:
http://sourceforge.net/projects/pywin32/
Great, I have it. Like I have time for this!! Damn you, damn you all to hellllllllllllllllllllllllllllll! Now I just need a quite beach, were the rest of humanity has been whipped out and the bank and tax man isn’t looking for me so that I can sit down and learn some of this. The talking apes might become of bit of a distraction.
Please pardon my eternal ignorance, but what is the advantage to this Python/MXS tie in? I haven’t worked with Python before, what can it do that MXS can’t?
Any example applications? In other words.
Thanks.
Hi, Guys,
Fist off, Camera Server that I mentioned is a simple little app im working on, that will keep animated cameras in sync. So an animator can be animating the camera and lets say a lighter is lighting the scene then his camera will have a live link to the animators etc… If that makes sense?? I am hoping to finish it ‘this’ week and ill post all the source for everyone to check out hopefully there will no be to much spaghetti code in there
Anyways to answer a couple questions:
Wahooney, Python can’t really do more then Maxscript in fact its the other way around more that python is limited to what mxs can do, were Pythons power lies is in its ability to “tie it all together” which is why its so good for building pipelines with…
PEN, I second that a quite beach were i can sit down with laptop and gets some stuff done… wait quite beach, mmm forget the laptop…
ypuech, I had actually read that link a while ago, It does however show the power of com when used to communicate through software…
Kermit, I have only played with IronPython a little bit (IronPython is a version “distro” of python that runs on the .Net virtual machine (? I think so) ) I thought the standard library was implemented? I’m not sure if Iron python makes it easier to add python scripting to a dot net app, maybe ypuech could shed some light on this?
If there any specific examples of python scripts you guys want just let me no… I am hoping to be able to show you an example of a render manger written in python (for vray standalone, but could easily add the functionality for different renders etc…) but thats a little ways off yet.
Cheers
Dave
More code coming this week!
Hi,
i’ve test succefully to implement a dotnet dll ( write in ironPython ) and integrate with in a maxscript rollout (thx to Yannick Puech for tutorial )
i need to try some Net 3 ( XAML ) dll for better UI ( like character vector drawing for rigging ), always with IronPython
the help tutorial mention u can import standart python library, but i do not test
i need more free time for this, it’s only a idea for your post . the big advantag i see is the communication between dontnet and mxs implemente by Autodesk
Kermit
ps : maybe difficult to read me, my english is very bad, sorry
Wahooney, Python can’t really do more then Maxscript in fact its the other way around more that python is limited to what mxs can do, were Pythons power lies is in its ability to “tie it all together” which is why its so good for building pipelines with…
I’d say:
Python’s power is the one of a middleware.
All the c#/.net stuff is limited to winOS. Using python you can implement osindpendend clients and data parsers.
This might be based on thin ice but:
Python is definitely a stronger string and xml parser than maxscript.
I used python in the past mainly in peparing data for indesign and illustrator.
I agree completly, python is very good at gluing the pipeline together even more so if you have a multi package workflow so max maya fusion/shake… and yes python string parsing is very strong along with its XML parser which is all C and well developed…
I have to admit I would love to see python in max, although i think hell will freeze before it happens
Cheers
Dave
Yes, you can extend .Net applications with ironPython.
I’ve only heared a little bit about ironPython. Seems powerful. It’s very useful to be able to create a managed assembly and use it under 3ds Max.
I’m curious…with the implementation of python in maya, i’m wondering if max will head the same way??
If so, do you think it’s a good thing or a bad thing?
Personally, I’d like to see a little more OO implementation in the API (I know the core API is OO, but max script isn’t … to my meger knowledge … but this is not the place for that disscussion)
Personally. I’d like to see the scripting side updated, as powerful as it is and as simple as it can be, it can sometimes be frustrating…just gets you close enough to a solution, but not quite overline.
Just thought I’d ask the question and see what others think
Hi Shane,
I think adding Python to 3ds Max would be a pain… Maya is well designed so adding Python to it wasn’t so difficult. It’s not the same story for Max.