My last post did not seem to go up, not sure why. This is my first post here, I just wrote a new Python plugin called a rt4x4MatrixToTRS utility node.
The node allows you to connect 16 separate float values which are converted into a matrix then output as translate, rotate, and scale. The node also has a parentInverse matrix input value and translate, rotate, and scale offset values. The Python source code is included and I have attempted to comment it well so it can be learned from. The file also includes an example .ma file for you to see a basic example of something you could do with it. It should work with all versions of maya that have Python built into it. You can download the plugin here: http://www.rtrowbridge.com/blog/downloads/ Also on my blog I have been posting many tutorials for Python in Maya to help the community. All comments and suggestions are welcome. RyanT Technical Artist NaughtyDog Inc. www.rtrowbridge.com/blog --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
