VertexWeightEditModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.VertexWeightEditModifier(Modifier)

Edit the weights of vertices in a group

add_threshold

Lower bound for a vertex’s weight to be added to the vgroup

Type:float in [0, 1], default 0.0
default_weight

Default weight a vertex will have if it is not in the vgroup

Type:float in [0, 1], default 0.0
falloff_type

How weights are mapped to their new values

  • LINEAR Linear, Null action.
  • CURVE Custom Curve.
  • SHARP Sharp.
  • SMOOTH Smooth.
  • ROOT Root.
  • ICON_SPHERECURVE Sphere.
  • RANDOM Random.
  • STEP Median Step, Map all values below 0.5 to 0.0, and all others to 1.0.
Type:enum in [‘LINEAR’, ‘CURVE’, ‘SHARP’, ‘SMOOTH’, ‘ROOT’, ‘ICON_SPHERECURVE’, ‘RANDOM’, ‘STEP’], default ‘LINEAR’
map_curve

Custom mapping curve

Type:CurveMapping, (readonly)
mask_constant

Global influence of current modifications on vgroup

Type:float in [-inf, inf], default 0.0
mask_tex_map_object

Which object to take texture coordinates from

Type:Object
mask_tex_mapping

Which texture coordinates to use for mapping

  • LOCAL Local, Use local generated coordinates.
  • GLOBAL Global, Use global coordinates.
  • OBJECT Object, Use local generated coordinates of another object.
  • UV UV, Use coordinates from an UV layer.
Type:enum in [‘LOCAL’, ‘GLOBAL’, ‘OBJECT’, ‘UV’], default ‘LOCAL’
mask_tex_use_channel

Which texture channel to use for masking

Type:enum in [‘INT’, ‘RED’, ‘GREEN’, ‘BLUE’, ‘HUE’, ‘SAT’, ‘VAL’, ‘ALPHA’], default ‘INT’
mask_tex_uv_layer

UV map name

Type:string, default “”, (never None)
mask_texture

Masking texture

Type:Texture
mask_vertex_group

Masking vertex group name

Type:string, default “”, (never None)
remove_threshold

Upper bound for a vertex’s weight to be removed from the vgroup

Type:float in [0, 1], default 0.0
use_add

Add vertices with weight over threshold to vgroup

Type:boolean, default False
use_remove

Remove vertices with weight below threshold from vgroup

Type:boolean, default False
vertex_group

Vertex group name

Type:string, default “”, (never None)

Inherited Properties

Inherited Functions