LineartGpencilModifier(GpencilModifier)

base classes — bpy_struct, GpencilModifier

class bpy.types.LineartGpencilModifier(GpencilModifier)

Generate line art strokes from selected source

chaining_image_threshold

Segments with an image distance smaller than this will be chained together

Type

float in [0, 0.3], default 0.001

crease_threshold

Angles smaller than this will be treated as creases

Type

float in [0, 3.14159], default 2.44346

invert_source_vertex_group

Invert source vertex group values

Type

boolean, default False

is_baked

This modifier has baked data

Type

boolean, default False

level_end

Maximum number of occlusions for the generated strokes

Type

int in [0, 128], default 0

level_start

Minimum number of occlusions for the generated strokes

Type

int in [0, 128], default 0

opacity

The strength value for the generate strokes

Type

float in [0, 1], default 1.0

source_collection

Source collection that this modifier uses data from

Type

Collection

source_object

Source object that this modifier uses data from

Type

Object

source_type

Line art stroke source type

Type

enum in [‘COLLECTION’, ‘OBJECT’, ‘SCENE’], default ‘COLLECTION’

source_vertex_group

Match the beginning of vertex group names from mesh objects, match all when left empty

Type

string, default “”, (never None)

split_angle

Angle in screen space below which a stroke is split in two

Type

float in [0, 3.14159], default 1.0472

target_layer

Grease Pencil layer assigned to the generated strokes

Type

string, default “”, (never None)

target_material

Grease Pencil material assigned to the generated strokes

Type

Material

thickness

The thickness for the generated strokes

Type

int in [1, 200], default 25

use_clip_plane_boundaries

Allow lines generated by the near/far clipping plane to be shown

Type

boolean, default True

use_contour

Generate strokes from contours lines

Type

boolean, default True

use_crease

Generate strokes from creased edges

Type

boolean, default True

use_edge_mark

Generate strokes from freestyle marked edges

Type

boolean, default True

use_edge_overlap

Allow edges in the same location (i.e. from edge split) to show properly. May run slower

Type

boolean, default False

use_fuzzy_all

Treat all lines as the same line type so they can be chained together

Type

boolean, default False

use_fuzzy_intersections

Treat intersection and contour lines as if they were the same type so they can be chained together

Type

boolean, default False

use_intersection

Generate strokes from intersections

Type

boolean, default True

use_material

Generate strokes from borders between materials

Type

boolean, default True

use_multiple_levels

Generate strokes from a range of occlusion levels

Type

boolean, default False

use_object_instances

Support particle objects and face/vertex instances to show in line art

Type

boolean, default True

use_output_vertex_group_match_by_name

Match output vertex group based on name

Type

boolean, default True

use_remove_doubles

Remove doubles from the source geometry before generating stokes

Type

boolean, default False

use_transparency

Use transparency mask from this material in line art

Type

boolean, default False

use_transparency_mask
Type

boolean array of 8 items, default (False, False, False, False, False, False, False, False)

use_transparency_match

Require matching all transparency masks instead of just one

Type

boolean, default False

vertex_group

Vertex group name for selected strokes

Type

string, default “”, (never None)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions