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:
authorDaniel Genrich <daniel.genrich@gmx.net>2014-02-06 21:44:05 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2014-02-06 21:55:08 +0400
commit28936a415076dbded4ec55cf94c49e8d0abe4035 (patch)
tree7fccc9f1cea7e2fe91bf0a4f6669e3ae44af0c19 /release
parente2541f87bcef84481aabf19e15664cfdac452cf7 (diff)
Patch T31269: Add sewing seams to cloth simulation
Description: -------------------------- Use loose edges marked as seams as sewing springs. Usage: ------------------------- All this patch does is set the rest length to 0 and the stiffness to 1 for springs for loose edges marked as seams so that during the cloth simulation they will be brought together. Example Video: ------------------------- http://www.youtube.com/watch?v=-Y_bC0gjoM0 Original Patch by thesleepless (+ git patch by codemanx) Thank you!
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_cloth.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_cloth.py b/release/scripts/startup/bl_ui/properties_physics_cloth.py
index 91b4cc0ae49..4e382f23645 100644
--- a/release/scripts/startup/bl_ui/properties_physics_cloth.py
+++ b/release/scripts/startup/bl_ui/properties_physics_cloth.py
@@ -77,6 +77,16 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel, Panel):
col.prop(cloth, "structural_stiffness", text="Structural")
col.prop(cloth, "bending_stiffness", text="Bending")
+ col.label(text="Sewing:")
+ col.prop(cloth, "use_sewing_springs", text="Use Sewing Springs")
+ col.prop(cloth, "sewing_force_max", text="Sewing Force")
+
+ sub = col.column()
+ col.label(text="Shrinking:")
+ col.prop_search(cloth, "vertex_group_shrink", ob, "vertex_groups", text="")
+ col.prop(cloth, "shrink_min", text="Min")
+ col.prop(cloth, "shrink_max", text="Max")
+
col = split.column()
col.label(text="Damping:")