Just checking if anyone else is annoyed by the lack of these tools in mel. Coming from max, where maxscript has all sorts of cool transformation methods (basically the same as are found in the maya api, which I can't use, but made availible to scripters as well), it's a bit frustrating not to be able to transform matrix variables without manipulating objects in the scene. I like my scripts to change the scene as little as possible, and not create temporary nodes etc when it calculates.
So, I'm thinking maybe someone out there has made a library of functions and is willing to share, but this might just be wishful thinking.
These are some of the functions I'm talking about, that would be really useful to have:
[ul][*]vector -> float [3], float [3] -> vector (simple enough, already written them)
[*]vector * matrix4 (exists - pointMatrixMult command)
[*]matrix4 * matrix4 (this I've already written too, would be glad to share if anyone wants, just a few lines long)
[*]invert matrix4 (would be really useful)
[*]euler -> quaternion, euler -> axis+angle, quaternion -> euler, quaternion -> axis+angle, axis+angle -> euler, axis+angle -> quaternion (all essential)
[*]rotate matrix4 by rotation (euler, quaternion or axis+angle, - if I had the above conversions, I would only need one type of rotation here, preferably quaternion since they are the most stable imo)
[/list]
Yeah, I think those are the important ones.[/ul]