diff options
author | Thomas Dinges <blender@dingto.org> | 2009-11-22 13:32:37 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-11-22 13:32:37 +0300 |
commit | 02e99b9a43f460ef1eb1168c60a024f8f98e6fb8 (patch) | |
tree | 30f10f9be1e10121cca1cdb76b791ede34122207 /release/scripts/presets/cloth | |
parent | 07db9033c9e3d79b51d86c790388c9cf341f896c (diff) |
* Minor cleanups.
* Added Cloth Presets. Patch by nudelZ. Thanks!
Diffstat (limited to 'release/scripts/presets/cloth')
-rw-r--r-- | release/scripts/presets/cloth/cotton.py | 6 | ||||
-rw-r--r-- | release/scripts/presets/cloth/denim.py | 6 | ||||
-rw-r--r-- | release/scripts/presets/cloth/leather.py | 6 | ||||
-rw-r--r-- | release/scripts/presets/cloth/rubber.py | 6 | ||||
-rw-r--r-- | release/scripts/presets/cloth/silk.py | 6 |
5 files changed, 30 insertions, 0 deletions
diff --git a/release/scripts/presets/cloth/cotton.py b/release/scripts/presets/cloth/cotton.py new file mode 100644 index 00000000000..27717495e99 --- /dev/null +++ b/release/scripts/presets/cloth/cotton.py @@ -0,0 +1,6 @@ +bpy.context.active_object.modifiers['Cloth'].settings.quality = 5 +bpy.context.active_object.modifiers['Cloth'].settings.mass = 0.300 +bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 15.000 +bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 0.500 +bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 5.000 +bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1.000 diff --git a/release/scripts/presets/cloth/denim.py b/release/scripts/presets/cloth/denim.py new file mode 100644 index 00000000000..0d9be3cb583 --- /dev/null +++ b/release/scripts/presets/cloth/denim.py @@ -0,0 +1,6 @@ +bpy.context.active_object.modifiers['Cloth'].settings.quality = 12 +bpy.context.active_object.modifiers['Cloth'].settings.mass = 1 +bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 40 +bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 10 +bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 25 +bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1 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 diff --git a/release/scripts/presets/cloth/rubber.py b/release/scripts/presets/cloth/rubber.py new file mode 100644 index 00000000000..101c11b141a --- /dev/null +++ b/release/scripts/presets/cloth/rubber.py @@ -0,0 +1,6 @@ +bpy.context.active_object.modifiers['Cloth'].settings.quality = 7 +bpy.context.active_object.modifiers['Cloth'].settings.mass = 3 +bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 15 +bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 25 +bpy.context.active_object.modifiers['Cloth'].settings.spring_damping = 25 +bpy.context.active_object.modifiers['Cloth'].settings.air_damping = 1 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 |