This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bl_info = { | |
"name": "Mute/Unmute Shapekeys", | |
"author": "Fab3DX, Nabesaka, ChatGPT", | |
"version": (1, 0), | |
"blender": (3, 40, 0), | |
"location": "View3D > Tools > Mute/Unmute Shapekeys", | |
"description": "Mute and unmute shapekeys on the selected object", | |
"warning": "", | |
"category": "Object" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
context = bpy.context | |
if context.active_object: | |
obj = context.active_object | |
if obj.data.shape_keys: | |
for shape_key in obj.data.shape_keys.key_blocks: | |
shape_key.mute = True | |
else: | |
self.report({'ERROR'}, "The active object has no shapekeys.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
# This is your dictionary of vertex groups to be renamed. | |
vertex_groups = { | |
"lHand": "hand.l", | |
"rHand": "hand.r", | |
"BelowJaw": "BelowJaw", | |
"lForearmTwist": "c_forearm_stretch.l", | |
"rForearmTwist": "c_forearm_stretch.r", | |
"lForearmBend": "c_forearm_twist.l", |