CastModifier(Modifier)
base classes — bpy_struct, Modifier
- class bpy.types.CastModifier(Modifier)
Modifier to cast to other shapes
- cast_type
Target object shape (default
'SPHERE')- Type:
Literal[‘SPHERE’, ‘CYLINDER’, ‘CUBOID’]
- factor
(in [-inf, inf], default 0.5)
- Type:
float
- invert_vertex_group
Invert vertex group influence (default False)
- Type:
bool
- radius
Only deform vertices within this distance from the center of the effect (leave as 0 for infinite.) (in [0, inf], default 0.0)
- Type:
float
- size
Size of projection shape (leave as 0 for auto) (in [0, inf], default 0.0)
- Type:
float
- use_radius_as_size
Use radius as size of projection shape (0 = auto) (default True)
- Type:
bool
- use_transform
Use object transform to control projection shape (default False)
- Type:
bool
- use_x
(default True)
- Type:
bool
- use_y
(default True)
- Type:
bool
- use_z
(default True)
- 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