Fix #104074: Cloth simulation presets missing internal springs and pressure
Pull Request: https://projects.blender.org/blender/blender/pulls/142191
This commit is contained in:
committed by
Brecht Van Lommel
parent
eb8dc8f535
commit
bd6f32559c
@@ -9,3 +9,17 @@ bpy.context.cloth.settings.tension_damping = 5
|
||||
bpy.context.cloth.settings.compression_damping = 5
|
||||
bpy.context.cloth.settings.shear_damping = 5
|
||||
bpy.context.cloth.settings.air_damping = 1.000
|
||||
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
|
||||
|
||||
@@ -9,3 +9,17 @@ 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
|
||||
|
||||
@@ -9,3 +9,17 @@ 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 = 0.0
|
||||
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
|
||||
|
||||
@@ -9,3 +9,17 @@ 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
|
||||
|
||||
@@ -9,3 +9,17 @@ bpy.context.cloth.settings.tension_damping = 0
|
||||
bpy.context.cloth.settings.compression_damping = 0
|
||||
bpy.context.cloth.settings.shear_damping = 0
|
||||
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
|
||||
|
||||
@@ -412,6 +412,20 @@ class AddPresetCloth(AddPresetBase, Operator):
|
||||
"cloth.settings.compression_damping",
|
||||
"cloth.settings.shear_damping",
|
||||
"cloth.settings.bending_damping",
|
||||
"cloth.settings.use_internal_springs",
|
||||
"cloth.settings.internal_spring_max_length",
|
||||
"cloth.settings.internal_spring_max_diversion",
|
||||
"cloth.settings.internal_spring_normal_check",
|
||||
"cloth.settings.internal_tension_stiffness",
|
||||
"cloth.settings.internal_compression_stiffness",
|
||||
"cloth.settings.internal_tension_stiffness_max",
|
||||
"cloth.settings.internal_compression_stiffness_max",
|
||||
"cloth.settings.use_pressure",
|
||||
"cloth.settings.uniform_pressure_force",
|
||||
"cloth.settings.use_pressure_volume",
|
||||
"cloth.settings.target_volume",
|
||||
"cloth.settings.pressure_factor",
|
||||
"cloth.settings.fluid_density",
|
||||
]
|
||||
|
||||
preset_subdir = "cloth"
|
||||
|
||||
Reference in New Issue
Block a user