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:
authorThomas Dinges <blender@dingto.org>2009-11-22 13:32:37 +0300
committerThomas Dinges <blender@dingto.org>2009-11-22 13:32:37 +0300
commit02e99b9a43f460ef1eb1168c60a024f8f98e6fb8 (patch)
tree30f10f9be1e10121cca1cdb76b791ede34122207 /release/scripts/presets/cloth/leather.py
parent07db9033c9e3d79b51d86c790388c9cf341f896c (diff)
* Minor cleanups.
* Added Cloth Presets. Patch by nudelZ. Thanks!
Diffstat (limited to 'release/scripts/presets/cloth/leather.py')
-rw-r--r--release/scripts/presets/cloth/leather.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/presets/cloth/leather.py b/release/scripts/presets/cloth/leather.py
new file mode 100644
index 00000000000..f64608b24c7
--- /dev/null
+++ b/release/scripts/presets/cloth/leather.py
@@ -0,0 +1,6 @@
+bpy.context.active_object.modifiers['Cloth'].settings.quality = 15
+bpy.context.active_object.modifiers['Cloth'].settings.mass = 0.4
+bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 80
+bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 150
+bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 25
+bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1