Skeleton to Motion Builder - Overview

Platform: Vicon Blade 1.7
Status: Released
Address: www.GeoffSamuel.com/Scrip_Files.php?proj=7


This script simply renames the bones Vicon Blade Production Solve Skeleton to that of the motion builder naming convention, allowing for quick rig characterization.

Code

//------------------------------------------------------
//--         Skeleton to Motion Builder               --
//--         Created by Geoffrey Samuel             --
//--        Email: Geoff@geoffsamuel.com            --
//--       Website: www.geoffsamuel.com             --
//--                (Version 1.0)                       --
//------------------------------------------------------
//------------------------------------------------------
//------------------------------------------------------
// LEGAL AND COPYRIGHT  INFO
//------------------------------------------------------
//Copyright (c) 2007-2010, Geoff Samuel
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
//    * Redistributions of source code must retain the above copyright
//      notice, this list of conditions and the following disclaimer.
//    * Redistributions in binary form must reproduce the above copyright
//      notice, this list of conditions and the following disclaimer in the
//      documentation and/or other materials provided with the distribution.
//    * Neither the name of the <organization> nor the
//      names of its contributors may be used to endorse or promote products
//      derived from this software without specific prior written permission.
//
//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
//THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
//DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
//LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
//(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//------------------------------------------------------
// OTHER  INFO
//------------------------------------------------------
//
//It would be appreciate if the author could be informed to the use of the plugin/tool/code as to promote the usage of the plugin/tool/code.
//Any modifications done to the plugin/tool/code for improved functionality or stability would be welcome as keep building off a single plugin/tool/code allowing for more people to benefit,
//although this is not mandatory.
//
//Bugs and feature requests to: Support@GeoffSamuel.com
//
//------------------------------------------------------
// BUILD AND VERSION INFO
//------------------------------------------------------
//
//Build date: 03/11/2010
//
//
//Further features to be implemented: (build version 1.2)
//  * Allow for multipul characters
//  * Provied different naming conventions
//
//Version History: (build version 1.0)
//  *Project Started.
//

//MAIN
setProperty "Name" "Hips" -onMod Root;
setProperty "Name" "Spine" -onMod Spine1;
setProperty "Name" "Spine1" -onMod Spine2;
setProperty "Name" "Spine2" -onMod Spine3;
setProperty "Name" "Spine3" -onMod Chest;
setProperty "Name" "LeftUpLeg" -onMod L_Femur;
setProperty "Name" "LeftLeg" -onMod L_Knee;
setProperty "Name" "LeftFoot" -onMod L_Ankle;
setProperty "Name" "RightUpLeg" -onMod R_Femur;
setProperty "Name" "RightLeg" -onMod R_Knee;
setProperty "Name" "RightFoot" -onMod R_Ankle;
setProperty "Name" "LeftArm" -onMod L_Shoulder;
setProperty "Name" "LeftForeArm" -onMod L_Elbow;
setProperty "Name" "LeftHand" -onMod L_Wrist;
setProperty "Name" "RightArm" -onMod R_Shoulder;
setProperty "Name" "RightForeArm" -onMod R_Elbow;
setProperty "Name" "RightHand" -onMod R_Wrist;
setProperty "Name" "LeftShoulder" -onMod L_Clav;
setProperty "Name" "RightShoulder" -onMod R_Clav;
setProperty "Name" "LeftFootThumb1" -onMod L_ToeEnd;
setProperty "Name" "RightFootThumb1" -onMod R_ToeEnd;
//LEFT HAND
setProperty "Name" "LeftHandThumb1" -onMod L_Thumb1;
setProperty "Name" "LeftHandThumb2" -onMod L_Thumb2;
setProperty "Name" "LeftHandThumb3" -onMod L_Thumb3;
setProperty "Name" "LeftHandThumb4" -onMod L_Thumb4;
setProperty "Name" "LeftHandIndex1" -onMod L_Index1;
setProperty "Name" "LeftHandIndex2" -onMod L_Index2;
setProperty "Name" "LeftHandIndex3" -onMod L_Index3;
setProperty "Name" "LeftHandIndex4" -onMod L_Index4;
setProperty "Name" "LeftHandMiddle1" -onMod L_Middle1;
setProperty "Name" "LeftHandMiddle2" -onMod L_Middle2;
setProperty "Name" "LeftHandMiddle3" -onMod L_Middle3;
setProperty "Name" "LeftHandMiddle4" -onMod L_Middle4;
setProperty "Name" "LeftHandRing1" -onMod L_Ring1;
setProperty "Name" "LeftHandRing2" -onMod L_Ring2;
setProperty "Name" "LeftHandRing3" -onMod L_Ring3;
setProperty "Name" "LeftHandRing4" -onMod L_Ring4;
setProperty "Name" "LeftHandPinky1" -onMod L_Pinky1;
setProperty "Name" "LeftHandPinky2" -onMod L_Pinky2;
setProperty "Name" "LeftHandPinky3" -onMod L_Pinky3;
setProperty "Name" "LeftHandPinky4" -onMod L_Pinky4;
//RIGHT HAND
setProperty "Name" "RightHandThumb1" -onMod R_Thumb1;
setProperty "Name" "RightHandThumb2" -onMod R_Thumb2;
setProperty "Name" "RightHandThumb3" -onMod R_Thumb3;
setProperty "Name" "RightHandThumb4" -onMod R_Thumb4;
setProperty "Name" "RightHandIndex1" -onMod R_Index1;
setProperty "Name" "RightHandIndex2" -onMod R_Index2;
setProperty "Name" "RightHandIndex3" -onMod R_Index3;
setProperty "Name" "RightHandIndex4" -onMod R_Index4;
setProperty "Name" "RightHandMiddle1" -onMod R_Middle1;
setProperty "Name" "RightHandMiddle2" -onMod R_Middle2;
setProperty "Name" "RightHandMiddle3" -onMod R_Middle3;
setProperty "Name" "RightHandMiddle4" -onMod R_Middle4;
setProperty "Name" "RightHandRing1" -onMod R_Ring1;
setProperty "Name" "RightHandRing2" -onMod R_Ring2;
setProperty "Name" "RightHandRing3" -onMod R_Ring3;
setProperty "Name" "RightHandRing4" -onMod R_Ring4;
setProperty "Name" "RightHandPinky1" -onMod R_Pinky1;
setProperty "Name" "RightHandPinky2" -onMod R_Pinky2;
setProperty "Name" "RightHandPinky3" -onMod R_Pinky3;
setProperty "Name" "RightHandPinky4" -onMod R_Pinky4;

Script Download

The script can be downloaded here