Hey everyone! Thank you so much for downloading this script! It makes the time that I spent developing it seem worthwhile. I would really appreciate if some of you would provide me with some feedback on whether you like it or not, find it useful and how you're using it. I'd also like to know what version you're using as well (2010/2011). Again, I'd really appreciate the feedback so that I can figure out what to do next with it. Again, thank you for downloading it and please give me some feedback. I never thought anyone would download this, so now I'm looking to find out what I can do to make it better!
What/Why:
Animators start by blocking in their poses. To make it a "true" blocking in, you need to have your tangents set to stepped. Unfortunately, setting it to be this way by default means you have to go through and select all your keys later and switch them back to spline so you can get your nice arcs. This became annoying to me, so I wrote this script to automagically change all of the tangents to either linear in/stepped out or spline in and out.
Version Issues:
As far as I know, there are no issues across any of the major platforms (Windows, OSX and Linux). If you note one, please let me know via email or the creative crash site. It's been tested from Maya 2008 - 2011, but it should work across all versions.
Installation:
Maya 2010 Instructions:
Copy the tangentSwitcher.mel script into your scripts folder. Open maya and open the script editor and type in:
source tangentSwitcher.mel; tanSwitcher();
Now select that text and go to file -> save script to shelf. Name it and click it and you're good to go!
Maya 2011 Instructions:
Copy all the files into into your scripts folder (tangentSwitcher.mel and all .ui files). Open maya and open the script editor and type in:
source tangentSwitcher.mel; tanSwitcher();
Now select that text and go to file -> save script to shelf. Select Mel as the type. Name it and click it and you're good to go!
Notes:
The UI for 2010 is mel based, but the 2011 version is QT based. The QT version definitely looks nicer, but the mel one still functions just the same as it did before (better actually).
License Information:
This work is licensed under the 3-clause BSD ("New BSD License") license.
The license has been included in the file as a txt file, but you are free to delete it if you wish. That does not imply that if you delete it that the license does not apply. I just know how extra stuff in my folders bugs me.
Changelog:
Maya 2011 Changelog for 2.7:
2.7
* changed some procedures to be able to integrate with QT Interface
* updated UI for Maya 2011 using QT
* changed the default of spline tangents to flat which reduces penetration of ground plane issues
* added a button to launch the Graph Editor and the Dope Sheet Editor
* fixed a bug with multi-selection
* now use shift to select multiple items
* double click to deselect all items
* added ability to re-order items in the list for character sets
* added version checker
* cleaned up TONS of code
* added better comments to the code
* reformatted the code because it was ugly as hell
* took license information out of the script since it's now included as part of the download
Maya 2010 Changelog for 2.7:
2.7
* changed some procedures to function better
* changed the default of spline tangents to flat which reduces penetration of ground plane issues
* added a button to launch the Graph Editor and the Dope Sheet Editor
* fixed a bug with multi-selection
* added version checker and popup for 2011 users using the 2010 script
* cleaned up TONS of code
* added better comments to the code
* reformatted the code because it was ugly as hell
* reorganized code for better readability
* took license information out of the script since it's now included as part of the download
Previous Versions Changelog:
2.6
* changed some procedure names and variables
* cleaned up some code
2.5
* redid the layout so it made more sense
* cleaned up the code a bit
* renamed some procedures and reduced rendundancy
2.4
* fixed another nasty bug that made it so that if you had two characters in a scene and you selected a character's character set and changed the tangent and then selected another character set (from either the same character or another), both would inherit the last tangent command given. this was because multi-select is enabled and the selection was not being cleared after the tangents were changed.
* fixed a bug where time was being taken from the entire timeline rather than the current timeline's minimum and maximum values. now if you simply set your options for your timeline like you normally would it will only affect those keyframes.
* removed a menu option so that users would just get the window that they needed rather than prompting them to choose one.
2.3
* fixed a nasty UI bug that disallowed os x users the pleasure of using this script (and since I use os x it kinda matters to me)
* changed the line endings to be *NIX compatible (since Windows is idiotic about how it handles line endings)
2.2
* added about and help buttons
* finished adding option for simple and advanced interfaces
2.1
* began adding simple and advanced features
2.0
* added in options to allow users to choose their in and out tangent types
* cleaned up code
* almost completely re-written, thus the reason for a full version jump
1.2
* added new windows for easier use by average users
* added in a non-character set version
* renamed some procedures to avoid conflicts
* renamed some windows to avoid conflicts
1.1
* rewrote almost from scratch
* removed "update" button
* made character sets load by default
* fixed bug where multiples of the same character sets were listed
* unbroke entire script
* removed useless and/or redundant code
* added code to delete the windows
1.0
* added more buttons to make process easier
* broke entire script
* made window smaller
0.5
* fixed "stepped" option to be stepped and not clamped
* made option to go back to spline instead of linear
* added full gui
* various minor fixes
0.1
* improved snappiness
* made option to go back to linear tangents
* fixed variable errors