blender/release/scripts/presets/cloth/rubber.py
Bastien Montagne 32c18276ef Fix T38881: cloth preset rubber not working with "translated data names" i18n option
Actually, was broken for any custom modifier name, since it was explicitly using 'Cloth' one. Changed to mimic other cloth pressets (wonder why this one was different!).
2014-02-28 17:30:30 +01:00

8 lines
279 B
Python

import bpy
bpy.context.cloth.settings.quality = 7
bpy.context.cloth.settings.mass = 3
bpy.context.cloth.settings.structural_stiffness = 15
bpy.context.cloth.settings.bending_stiffness = 25
bpy.context.cloth.settings.spring_damping = 25
bpy.context.cloth.settings.air_damping = 1