Files
test2/scripts/presets/cloth/Denim.py

26 lines
1.3 KiB
Python

import bpy
bpy.context.cloth.settings.quality = 12
bpy.context.cloth.settings.mass = 1
bpy.context.cloth.settings.tension_stiffness = 40
bpy.context.cloth.settings.compression_stiffness = 40
bpy.context.cloth.settings.shear_stiffness = 40
bpy.context.cloth.settings.bending_stiffness = 10
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
bpy.context.cloth.settings.use_internal_springs = False
bpy.context.cloth.settings.internal_spring_max_length = 0.0
bpy.context.cloth.settings.internal_spring_max_diversion = 45
bpy.context.cloth.settings.internal_spring_normal_check = True
bpy.context.cloth.settings.internal_tension_stiffness = 15.0
bpy.context.cloth.settings.internal_compression_stiffness = 15.0
bpy.context.cloth.settings.internal_tension_stiffness_max = 15.0
bpy.context.cloth.settings.internal_compression_stiffness_max = 15.0
bpy.context.cloth.settings.use_pressure = False
bpy.context.cloth.settings.uniform_pressure_force = 76.0
bpy.context.cloth.settings.use_pressure_volume = False
bpy.context.cloth.settings.target_volume = 0.0
bpy.context.cloth.settings.pressure_factor = 1.0
bpy.context.cloth.settings.fluid_density = 0.0