Files
BlenderAssets/Purchased/HG/scripts/Convert_livekeys_to_shapekeys.py
2025-11-27 14:08:14 -07:00

15 lines
468 BLFS
Python

"""Converts all sliders to shapekeys. You can then find the shapekeys in the shapekey panel of the mesh."""
import bpy
from HumGen3D import Human
def main(context: bpy.types.Context, human: Human):
"""Converts all livekeys to shapekeys.
Args:
context (bpy.types.Context): Blender context.
human (Human): Instance of a single human. Script will be run for each human.
"""
for key in human.keys.all_livekeys:
key.to_shapekey()