Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
MM_loadSavePose.mel
2009.11.23 Ver 2.0.1
2009.9.14 Ver 2.0.0
2008.1.16 Ver 1.2
2008.1.8 Ver 1.1
2007.7.20 Ver 1.0
Please Donate!
Description: This script provides the function that saves and loads pose data of characters and sets simple swap pose.
2009/11/23 Version 2.0.1 Bugfixed Mirror Pose include Rotate Axis.
2009/09/26 Version 2.0.0 Added Support for x64.
2009/09/14 Version 2.0.0 Improved.
2008/01/16 Version 1.2 Pinning joint
2008/01/08 Version 1.1 Fix first translate
Install:
-Plug-in
Copy the plug-in MM_library.mll to your local userscripts folder
e.g.)
C:Documents and Settings"USER"My Documentsmaya2010plug-ins
-Script
Copy the script MM_loadSavePose.mel to your local userscripts folder
e.g.)
C:Documents and Settings"USER"My Documentsmaya2010scripts
-Icons
Copy all icons to your local userprefsicons
e.g.) C:Documents and Settings"USER"My Documentsmaya8.5prefsicons
Start Maya Open the script editor. Enter command "MM_loadSavePose 1;". Then, the panel opens. It is convenient to register this command in the shelf.
USAGE: -Save Pose Select the root joint you want to save pose data. Press icon in this panel. Or, Right-click in "Pose space". Select "Save Pose" from among the displayed pop-up menu Then, "Enter Save Pose name" dialog displays. Input the pose name and press "Save" button. After that, the pose name is added into the pose list in Pose space.
-Load Pose Double-click the pose name of Pose space in this panel without selecting anything. Or, select the pose name that you want to load. Press "Load Pose" button or press icon.
File format
The saved file is preserved an arbitrary directory in the current project directory. The file format is ASCII (.pa file). It is possible to edit it with text editor.
The file format is ...
// Header part //jointOrient
jointname jox joy joz ro
// EOJ
//createPose jointname tx ty tz rx ry rz sx sy sz . . . // End of filename
tx=translate rx=rotate sx=scale
Note:
This MEL need a plug-in MM_library.mll.
Comand "MM_loadSavePose 1" the panel opens.
Please read the manual of the docs directory about a more detailed usage.
Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.