From 28936a415076dbded4ec55cf94c49e8d0abe4035 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Thu, 6 Feb 2014 18:44:05 +0100 Subject: 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! --- release/scripts/startup/bl_ui/properties_physics_cloth.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'release/scripts/startup/bl_ui/properties_physics_cloth.py') 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:") -- cgit v1.2.3