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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/presets/cloth/silk.py')
-rw-r--r--release/scripts/presets/cloth/silk.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/presets/cloth/silk.py b/release/scripts/presets/cloth/silk.py
new file mode 100644
index 00000000000..21de166adf9
--- /dev/null
+++ b/release/scripts/presets/cloth/silk.py
@@ -0,0 +1,6 @@
+bpy.context.active_object.modifiers["Cloth"].settings.quality = 5
+bpy.context.active_object.modifiers["Cloth"].settings.mass = 0.150
+bpy.context.active_object.modifiers["Cloth"].settings.structural_stiffness = 5
+bpy.context.active_object.modifiers["Cloth"].settings.bending_stiffness = 0.05
+bpy.context.active_object.modifiers["Cloth"].settings.spring_damping = 0
+bpy.context.active_object.modifiers["Cloth"].settings.air_damping = 1