Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_cloth.py
| Context not available. | |||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "quality", text="Quality Steps") | col.prop(cloth, "quality", text="Quality Steps") | ||||
| col.prop(cloth, "time_scale", text="Speed Multiplier") | col.prop(cloth, "time_scale", text="Speed Multiplier") | ||||
| col.prop(cloth, "bending_model") | |||||
| col.separator() | col.separator() | ||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "mass", text="Material Mass") | col.prop(cloth, "mass", text="Material Mass") | ||||
| col.prop(cloth, "structural_stiffness", text="Structural") | col.prop(cloth, "air_damping", text="Air") | ||||
| col.prop(cloth, "vel_damping", text="Velocity") | |||||
| col.separator() | |||||
| col = flow.column() | |||||
| if cloth.bending_model == 'ANGULAR': | |||||
| col.prop(cloth, "tension_stiffness", text="Stiffness Tension") | |||||
| col.prop(cloth, "compression_stiffness", text="Compression") | |||||
| else: | |||||
| col.prop(cloth, "tension_stiffness", text="Stiffness Structural") | |||||
| col.prop(cloth, "shear_stiffness", text="Shear") | |||||
| col.prop(cloth, "bending_stiffness", text="Bending") | col.prop(cloth, "bending_stiffness", text="Bending") | ||||
| col.separator() | col.separator() | ||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "spring_damping", text="Damping Spring") | if cloth.bending_model == 'ANGULAR': | ||||
| col.prop(cloth, "air_damping", text="Air") | col.prop(cloth, "tension_damping", text="Damping Tension") | ||||
| col.prop(cloth, "vel_damping", text="Velocity") | col.prop(cloth, "compression_damping", text="Compression") | ||||
| else: | |||||
| col.prop(cloth, "tension_damping", text="Damping Structural") | |||||
| col.prop(cloth, "shear_damping", text="Shear") | |||||
| col.prop(cloth, "bending_damping", text="Bending") | |||||
| col = flow.column() | col = flow.column() | ||||
| col.prop(cloth, "use_dynamic_mesh", text="Dynamic Mesh") | col.prop(cloth, "use_dynamic_mesh", text="Dynamic Mesh") | ||||
| Context not available. | |||||
| cloth, "vertex_group_structural_stiffness", ob, "vertex_groups", | cloth, "vertex_group_structural_stiffness", ob, "vertex_groups", | ||||
| text="Structural Group" | text="Structural Group" | ||||
| ) | ) | ||||
| col.prop(cloth, "structural_stiffness_max", text="Max") | col.prop(cloth, "tension_stiffness_max", text="Max Tension") | ||||
| col.prop(cloth, "compression_stiffness_max", text="Compression") | |||||
| col.separator() | |||||
| col = flow.column() | |||||
| col.prop_search( | |||||
| cloth, "vertex_group_shear_stiffness", ob, "vertex_groups", | |||||
| text="Shear Group" | |||||
| ) | |||||
| col.prop(cloth, "shear_stiffness_max", text="Max") | |||||
| col.separator() | col.separator() | ||||
| Context not available. | |||||