This commit is contained in:
2025-08-19 01:51:35 -06:00
commit 23b76137cb
5225 changed files with 86293 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
"""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()

View File

@@ -0,0 +1,17 @@
"""Remove all particle systems from the body object.
ALSO REMOVES EYEBROWS AND EYELASHES.
"""
import bpy
from HumGen3D import Human
def main(context: bpy.types.Context, human: Human):
"""Remove all particle systems from the body object.
Args:
context (bpy.types.Context): Blender context.
human (Human): Instance of a single human. Script will be run for each human.
"""
for mod in human.hair.modifiers:
human.objects.body.modifiers.remove(mod)