user: Show practical ways to work with Bpy.Types.Clothsettings in a Blender add-on or script – include code.

assistant: shrink cloth Type : float in [-inf, 1], default 0.0 target_volume ¶ The mesh volume where the inner/outer pressure will be the same. If set to zero the change in volume will not affect pressure. Type : float in [0, 10000], default 0.0 tension_damping ¶ Amount of damping in stretching behavior Type : float in [0, 50], default 5.0 tension_stiffness ¶ How much the material resists stretching Type : float in [0, 10000], default 15.0 tension_stiffness_max ¶ Maximum tension stiffness value Type : float in [0, 10000], default 15.0 time_scale ¶ Cloth speed is multiplied by this value Type : float in [0, inf], default 1.0 uniform_pressure_force ¶ The uniform pressure that is constantly applied to the mesh, in units of Pressure Scale. Can be negative. Type : float in [-10000, 10000], default 0.0 use_dynamic_mesh ¶ Make simulation respect deformations in the base mesh Type : boolean, default False use_internal_springs ¶ Simulate an internal volume structure by creating springs connecting the opposite sides of the mesh Type : boolean, default False use_pressure ¶ Simulate pressure inside a closed cloth mesh Type : boolean, default False use_pressure_volume ¶ Use the Target Volume parameter as the initial volume, instead of calculating it from the mesh itself Type : boolean, default False use_sewing_springs ¶ Pulls loose edges together Type : boolean, default False vertex_group_bending ¶ Vertex group for fine control over bending stiffness Type : string, default “”, (never None) vertex_group_intern ¶ Vertex group for fine control over the internal spring stiffness Type : string, default “”, (never None) vertex_group_mass ¶ Vertex Group for pinning of vertices Type : string, default “”, (never None) vertex_group_pressure ¶ Vertex Group for where to apply pressure. Zero weight means no pressure while a weight of one means full pressure. Faces with a vertex that has zero weight will be excluded from the volume calculation. Type : string, default “”, (never None) vertex_group_shear_stiffness ¶ Vertex group for fine control over shear stiffness Type : string, default “”, (never None) vertex_group_shrink ¶ Vertex Group for shrinking cloth Type : string, default “”, (never None) vertex_group_structural_stiffness ¶ Vertex group for fine control over structural stiffness Type : string, default “”, (never None) voxel_cell_size ¶ Size of the voxel grid cells for interaction effects Type : float in [0.0001, 10000], default 0.1 classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ ClothModifier.settings Next ClothSolverResult(bpy_struct) Previous ClothModifier(Modifier) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page ClothSettings(bpy_struct) ClothSettings ClothSettings.air_damping ClothSettings.bending_damping ClothSettings.bending_model ClothSettings.bending_stiffness ClothSettings.bending_stiffness_max ClothSettings.collider_friction ClothSettings.compression_damping ClothSettings.compression_stiffness ClothSettings.compression_stiffness_max ClothSettings.density_strength ClothSettings.density_target ClothSettings.effector_weights ClothSettings.fluid_density ClothSettings.goal_default ClothSettings.goal_friction ClothSettings.goal_max ClothSettings.goal_min ClothSettings.goal_spring ClothSettings.gravity ClothSettings.internal_compression_stiffness ClothSettings.internal_compression_stiffness_max ClothSettings.internal_friction ClothSettings.internal_spring_max_diversion ClothSettings.internal_spring_max_length ClothSettings.internal_spring_normal_check ClothSettings.internal_tension_stiffness ClothSettings.internal_tension_stiffness_max ClothSettings.mass ClothSettings.pin_stiffness ClothSettings.pressure_factor ClothSettings.quality ClothSettings.rest_shape_key ClothSettings.sewing_force_max ClothSettings.shear_damping ClothSettings.shear_stiffness ClothSettings.shear_stiffness_max ClothSettings.shrink_max ClothSettings.shrink_min ClothSettings.target_volume ClothSettings.tension_damping ClothSettings.tension_stiffness ClothSettings.tension_stiffness_max ClothSettings.time_scale ClothSettings.uniform_pressure_force ClothSettings.use_dynamic_mesh ClothSettings.use_internal_springs ClothSettings.use_pressure ClothSettings.use_pressure_volume ClothSettings.use_sewing_springs ClothSettings.vertex_group_bending ClothSettings.vertex_group_intern ClothSettings.vertex_group_mass ClothSettings.vertex_group_pressure ClothSettings.vertex_group_shear_stiffness ClothSettings.vertex_group_shrink ClothSettings.vertex_group_structural_stiffness ClothSettings.voxel_cell_size ClothSettings.bl_rna_get_subclass() ClothSettings.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References