ClothSettings(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.ClothSettings(bpy_struct)¶ Cloth simulation settings for an object
-
air_damping¶ Air has normally some thickness which slows falling things down
Type: float in [0, 10], default 0.0
-
bending_damping¶ Amount of damping in bending behavior
Type: float in [0, 1000], default 0.0
-
bending_model¶ Physical model for simulating bending forces
ANGULARAngular, Cloth model with angular bending springs.LINEARLinear, Cloth model with linear bending springs (legacy).
Type: enum in [‘ANGULAR’, ‘LINEAR’], default ‘LINEAR’
-
bending_stiffness¶ How much the material resists bending
Type: float in [0, 10000], default 0.0
-
bending_stiffness_max¶ Maximum bending stiffness value
Type: float in [0, 10000], default 0.0
-
collider_friction¶ Type: float in [0, 1], default 0.0
-
compression_damping¶ Amount of damping in compression behavior
Type: float in [0, 50], default 0.0
-
compression_stiffness¶ How much the material resists compression
Type: float in [0, 10000], default 0.0
-
compression_stiffness_max¶ Maximum compression stiffness value
Type: float in [0, 10000], default 0.0
-
density_strength¶ Influence of target density on the simulation
Type: float in [0, 1], default 0.0
-
density_target¶ Maximum density of hair
Type: float in [0, 10000], default 0.0
-
effector_weights¶ Type: EffectorWeights, (readonly)
-
goal_default¶ Default Goal (vertex target position) value, when no Vertex Group used
Type: float in [0, 1], default 0.0
-
goal_friction¶ Goal (vertex target position) friction
Type: float in [0, 50], default 0.0
-
goal_max¶ Goal maximum, vertex group weights are scaled to match this range
Type: float in [0, 1], default 0.0
-
goal_min¶ Goal minimum, vertex group weights are scaled to match this range
Type: float in [0, 1], default 0.0
-
goal_spring¶ Goal (vertex target position) spring stiffness
Type: float in [0, 0.999], default 0.0
-
gravity¶ Gravity or external force vector
Type: float array of 3 items in [-100, 100], default (0.0, 0.0, 0.0)
-
internal_friction¶ Type: float in [0, 1], default 0.0
-
mass¶ Mass of cloth material
Type: float in [0, 10], default 0.0
-
pin_stiffness¶ Pin (vertex target position) spring stiffness
Type: float in [0, 50], default 0.0
-
quality¶ Quality of the simulation in steps per frame (higher is better quality but slower)
Type: int in [1, inf], default 0
-
sewing_force_max¶ Maximum sewing force
Type: float in [0, 10000], default 0.0
-
shear_damping¶ Amount of damping in shearing behavior
Type: float in [0, 50], default 0.0
-
shear_stiffness¶ How much the material resists shearing
Type: float in [0, 10000], default 0.0
-
shear_stiffness_max¶ Maximum shear scaling value
Type: float in [0, 10000], default 0.0
-
shrink_max¶ Max amount to shrink cloth by
Type: float in [0, 1], default 0.0
-
shrink_min¶ Factor by which to shrink cloth
Type: float in [0, 1], default 0.0
-
tension_damping¶ Amount of damping in stretching behavior
Type: float in [0, 50], default 0.0
-
tension_stiffness¶ How much the material resists stretching
Type: float in [0, 10000], default 0.0
-
tension_stiffness_max¶ Maximum tension stiffness value
Type: float in [0, 10000], default 0.0
-
time_scale¶ Cloth speed is multiplied by this value
Type: float in [0, inf], default 0.0
-
use_dynamic_mesh¶ Make simulation respect deformations in the base mesh
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_mass¶ Vertex Group for pinning of vertices
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 (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References