SimpleDeformModifier(Modifier)
base classes — bpy_struct, Modifier
- class bpy.types.SimpleDeformModifier(Modifier)
Simple deformation modifier to apply effects such as twisting and bending
- angle
Angle of deformation (in [-inf, inf], default 0.785398)
- Type:
float
- deform_axis
Deform around local axis (default
'X')- Type:
Literal[Axis Xyz Items]
- deform_method
(default
'TWIST')TWISTTwist – Rotate around the Z axis of the modifier space.BENDBend – Bend the mesh over the Z axis of the modifier space.TAPERTaper – Linearly scale along Z axis of the modifier space.STRETCHStretch – Stretch the object along the Z axis of the modifier space.
- Type:
Literal[‘TWIST’, ‘BEND’, ‘TAPER’, ‘STRETCH’]
- factor
Amount to deform object (in [-inf, inf], default 0.785398)
- Type:
float
- invert_vertex_group
Invert vertex group influence (default False)
- Type:
bool
- limits
Lower/Upper limits for deform (array of 2 items, in [0, 1], default (0.0, 1.0))
- Type:
bpy_prop_array[float]
- lock_x
Do not allow deformation along the X axis (default False)
- Type:
bool
- lock_y
Do not allow deformation along the Y axis (default False)
- Type:
bool
- lock_z
Do not allow deformation along the Z axis (default False)
- Type:
bool
- use_gpu_deform
Deform mesh vertices using the GPU instead of the CPU (default False)
- Type:
bool
- vertex_group
Vertex group name (default “”, never None)
- Type:
str
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type