diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2014-02-06 21:44:05 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2014-02-06 21:55:08 +0400 |
commit | 28936a415076dbded4ec55cf94c49e8d0abe4035 (patch) | |
tree | 7fccc9f1cea7e2fe91bf0a4f6669e3ae44af0c19 /release | |
parent | e2541f87bcef84481aabf19e15664cfdac452cf7 (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.py | 10 |
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:") |