GreasePencilSmoothModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.GreasePencilSmoothModifier(Modifier)

Smooth effect modifier

custom_curve

Custom curve to apply effect (readonly)

Type:

CurveMapping

factor

Amount of smooth to apply (in [0, 1], default 1.0)

Type:

float

invert_layer_filter

Invert layer filter (default False)

Type:

bool

invert_layer_pass_filter

Invert layer pass filter (default False)

Type:

bool

invert_material_filter

Invert material filter (default False)

Type:

bool

invert_material_pass_filter

Invert material pass filter (default False)

Type:

bool

invert_vertex_group

Invert vertex group weights (default False)

Type:

bool

layer_pass_filter

Layer pass filter (in [0, 100], default 0)

Type:

int

material_filter

Material used for filtering

Type:

Material

material_pass_filter

Material pass (in [0, 100], default 0)

Type:

int

open_influence_panel

(default False)

Type:

bool

step

Number of times to apply smooth (high numbers can reduce fps) (in [1, 1000], default 1)

Type:

int

tree_node_filter

Layer name (default “”, never None)

Type:

str

use_custom_curve

Use a custom curve to define a factor along the strokes (default False)

Type:

bool

use_edit_position

The modifier affects the position of the point (default True)

Type:

bool

use_edit_strength

The modifier affects the color strength of the point (default False)

Type:

bool

use_edit_thickness

The modifier affects the thickness of the point (default False)

Type:

bool

use_edit_uv

The modifier affects the UV rotation factor of the point (default False)

Type:

bool

use_keep_shape

Smooth the details, but keep the overall shape (default False)

Type:

bool

use_layer_group_filter

Filter by layer group name (default False)

Type:

bool

use_layer_pass_filter

Use layer pass filter (default False)

Type:

bool

use_material_pass_filter

Use material pass filter (default False)

Type:

bool

use_smooth_ends

Smooth ends of strokes (default False)

Type:

bool

vertex_group_name

Vertex group name for modulating the deform (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:

bpy.types.Struct

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

Inherited Properties

Inherited Functions