GreasePencilDashModifierSegment(bpy_struct)

base class — bpy_struct

class bpy.types.GreasePencilDashModifierSegment(bpy_struct)

Configuration for a single dash segment

dash

The number of consecutive points from the original stroke to include in this segment (in [1, 32767], default 2)

Type:

int

gap

The number of points skipped after this segment (in [0, 32767], default 1)

Type:

int

material_index

Use this index on generated segment. -1 means using the existing material. (in [-1, 32767], default -1)

Type:

int

name

Name of the dash segment (default “”, never None)

Type:

str

opacity

The factor to apply to the original point’s opacity for the new points (in [0, 1], default 1.0)

Type:

float

radius

The factor to apply to the original point’s radius for the new points (in [0, 1], default 1.0)

Type:

float

use_cyclic

Enable cyclic on individual stroke dashes (default False)

Type:

bool

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

References