Files
BlenderAssets-Broken-LFS/Purchased/HG/scripts/Remove_particle_systems.py
2025-08-19 01:51:35 -06:00

18 lines
489 B
Python

"""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)