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.
This script allows the user to flip blendshapes. Any number of blendshapes can be flipped at one time. The interface allows the user to define which axis to flip the shapes on as well as three other options. "Combine Blendshape" this creates two new blendshapes, one is the mirrored shape and the other is a combination of the two. "Auto Rename" this invert the direction name (Ex. "Right will become "Left"). If "Rename Blendshape" is "on", after the blendshapes are created, a window is launched allowing the user to quickly rename the created blendshapes.
Accepted direction names for Auto Rename:
r <> l
R <> L
right <> left
Right <> Left
RIGHT <> LEFT
I released this script as version 2.0 because I had a working flipShape script that was very complicated and took a long time to calculate which vertices to flip. I showed this script to Mark Bamforth, who is the Technical Directory at Xvivo. After showing flipShape 1.0 to him, he liked the idea but showed me a technique he developed to flip blendshapes using wrap deformer's. So I re-wrote flipShape using his technique. HUGE thanks to Mark Bamforth for helping me with this script and all the other times he helped me.
2.5-Added "Auto Rename". If "on" the resulting blendshapes will be automatically rename. Ex. "Right_Smerk" will become "Left_Smerk" and the resulting combined shape will drop the direction name "Smerk".
Updated in Script Pack