blender/release/scripts/presets/cloth/rubber.py
2010-07-08 16:10:14 +00:00

8 lines
441 B
Python

import bpy
bpy.context.active_object.modifiers['Cloth'].settings.quality = 7
bpy.context.active_object.modifiers['Cloth'].settings.mass = 3
bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 15
bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 25
bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 25
bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1