Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Rubber.py « cloth « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0d791fab2a975cd7eedeb4267fd04b8fd7768268 (plain)
1
2
3
4
5
6
7
8
9
10
11
import bpy
bpy.context.cloth.settings.quality = 7
bpy.context.cloth.settings.mass = 3
bpy.context.cloth.settings.tension_stiffness = 15
bpy.context.cloth.settings.compression_stiffness = 15
bpy.context.cloth.settings.shear_stiffness = 15
bpy.context.cloth.settings.bending_stiffness = 25
bpy.context.cloth.settings.tension_damping = 25
bpy.context.cloth.settings.compression_damping = 25
bpy.context.cloth.settings.shear_damping = 25
bpy.context.cloth.settings.air_damping = 1