[Maya-Python] Re: MQuaternion slerp

2011-10-05 Thread André Adam
Hi Renato, perhaps I can quickly help out here, negateIt() and scaleIt() are functions of the MQuaternion class, which you can find documented in the Maya API: http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html Cheers! -André On Oct 5, 3:44 am, Renato Polimeno

[Maya-Python] Re: MQuaternion slerp

2011-10-05 Thread André Adam
Thanks David, I had hoped for something like this, API 2 looks promising so far! Will try to implement my stuff going this route, will keep you posted how it goes. Thanks again! -André On Oct 4, 11:47 pm, David Moulder da...@thirstydevil.co.uk wrote: I don't know if slerp is correctly

[Maya-Python] Re: MQuaternion slerp

2011-10-05 Thread André Adam
Nice piece of code, thanks for sharing. Writing my own slerp would be my fallback, though, in the end I'm going to call my function per frame, and therefore would look into having this C++ wrapped and compiled. But for now, the API 2 access David suggested looks to be exactly what I have been

[Maya-Python] More on quaternions...

2011-10-05 Thread André Adam
Hey there, I am still busy with accessing quaternions in Maya. The thing is, I'm looking for an elegant way to get the rotation quaternion of an object's transformation in world space. Here is what I have so far: PyMel issues: Transform.getRotation() offers the possibility to get world space

[Maya-Python] Re: Which editor do you use?

2011-10-05 Thread Farsheed Ashouri
gVim + Mapy -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

Re: [Maya-Python] Re: Which editor do you use?

2011-10-05 Thread Justin Israel
I've never felt a need to have the telnet commands to maya functionality working. I tried it once with low commitment and the script didnt work anymore and I didnt care enough to look onto it. Whether I use eclipse+pydev, or coda, or whatever, I usually just have a small snippet in the maya script

[Maya-Python] Re: Which editor do you use?

2011-10-05 Thread ArrantSquid
Gvim (Linux), Mvim (Mac) and Maya script editor for testing. I've tried Textmate, BBEdit, Eclipse, Kate, Sublime Text 2 and Notepad++. None compare to the power of vim with it's macros and easy editing. Took me a few weeks to figure out how to be efficient but I'm way more efficient now than I