FreestyleLineStyle(ID)
base classes — bpy_struct, ID
- class bpy.types.FreestyleLineStyle(ID)
Freestyle line style, reusable by multiple line sets
- active_texture_index
Index of active texture slot (in [0, 17], default 0)
- Type:
int
- alpha
Base alpha transparency, possibly modified by alpha transparency modifiers (in [0, 1], default 1.0)
- Type:
float
- alpha_modifiers
List of alpha transparency modifiers (default None, readonly)
- angle_max
Maximum 2D angle for splitting chains (in [0, 3.14159], default 0.0)
- Type:
float
- angle_min
Minimum 2D angle for splitting chains (in [0, 3.14159], default 0.0)
- Type:
float
- caps
Select the shape of both ends of strokes (default
'BUTT')BUTTButt – Butt cap (flat).ROUNDRound – Round cap (half-circle).SQUARESquare – Square cap (flat and extended).
- Type:
Literal[‘BUTT’, ‘ROUND’, ‘SQUARE’]
- chain_count
Chain count for the selection of first N chains (in [0, inf], default 10)
- Type:
int
- chaining
Select the way how feature edges are jointed to form chains (default
'PLAIN')PLAINPlain – Plain chaining.SKETCHYSketchy – Sketchy chaining with a multiple touch.
- Type:
Literal[‘PLAIN’, ‘SKETCHY’]
- color
Base line color, possibly modified by line color modifiers (array of 3 items, in [0, inf], default (0.0, 0.0, 0.0))
- Type:
- color_modifiers
List of line color modifiers (default None, readonly)
- dash1
Length of the 1st dash for dashed lines (in [0, 65535], default 0)
- Type:
int
- dash2
Length of the 2nd dash for dashed lines (in [0, 65535], default 0)
- Type:
int
- dash3
Length of the 3rd dash for dashed lines (in [0, 65535], default 0)
- Type:
int
- gap1
Length of the 1st gap for dashed lines (in [0, 65535], default 0)
- Type:
int
- gap2
Length of the 2nd gap for dashed lines (in [0, 65535], default 0)
- Type:
int
- gap3
Length of the 3rd gap for dashed lines (in [0, 65535], default 0)
- Type:
int
- geometry_modifiers
List of stroke geometry modifiers (default None, readonly)
- integration_type
Select the way how the sort key is computed for each chain (default
'MEAN')MEANMean – The value computed for the chain is the mean of the values obtained for chain vertices.MINMin – The value computed for the chain is the minimum of the values obtained for chain vertices.MAXMax – The value computed for the chain is the maximum of the values obtained for chain vertices.FIRSTFirst – The value computed for the chain is the value obtained for the first chain vertex.LASTLast – The value computed for the chain is the value obtained for the last chain vertex.
- Type:
Literal[‘MEAN’, ‘MIN’, ‘MAX’, ‘FIRST’, ‘LAST’]
- length_max
Maximum curvilinear 2D length for the selection of chains (in [0, 10000], default 10000.0)
- Type:
float
- length_min
Minimum curvilinear 2D length for the selection of chains (in [0, 10000], default 0.0)
- Type:
float
- material_boundary
If true, chains of feature edges are split at material boundaries (default False)
- Type:
bool
- panel
Select the property panel to be shown (default
'STROKES')STROKESStrokes – Show the panel for stroke construction.COLORColor – Show the panel for line color options.ALPHAAlpha – Show the panel for alpha transparency options.THICKNESSThickness – Show the panel for line thickness options.GEOMETRYGeometry – Show the panel for stroke geometry options.TEXTURETexture – Show the panel for stroke texture options.
- Type:
Literal[‘STROKES’, ‘COLOR’, ‘ALPHA’, ‘THICKNESS’, ‘GEOMETRY’, ‘TEXTURE’]
- rounds
Number of rounds in a sketchy multiple touch (in [1, 1000], default 3)
- Type:
int
- sort_key
Select the sort key to determine the stacking order of chains (default
'DISTANCE_FROM_CAMERA')DISTANCE_FROM_CAMERADistance from Camera – Sort by distance from camera (closer lines lie on top of further lines).2D_LENGTH2D Length – Sort by curvilinear 2D length (longer lines lie on top of shorter lines).PROJECTED_XProjected X – Sort by the projected X value in the image coordinate system.PROJECTED_YProjected Y – Sort by the projected Y value in the image coordinate system.
- Type:
Literal[‘DISTANCE_FROM_CAMERA’, ‘2D_LENGTH’, ‘PROJECTED_X’, ‘PROJECTED_Y’]
- sort_order
Select the sort order (default
'DEFAULT')DEFAULTDefault – Default order of the sort key.REVERSEReverse – Reverse order.
- Type:
Literal[‘DEFAULT’, ‘REVERSE’]
- split_dash1
Length of the 1st dash for splitting (in [0, 65535], default 0)
- Type:
int
- split_dash2
Length of the 2nd dash for splitting (in [0, 65535], default 0)
- Type:
int
- split_dash3
Length of the 3rd dash for splitting (in [0, 65535], default 0)
- Type:
int
- split_gap1
Length of the 1st gap for splitting (in [0, 65535], default 0)
- Type:
int
- split_gap2
Length of the 2nd gap for splitting (in [0, 65535], default 0)
- Type:
int
- split_gap3
Length of the 3rd gap for splitting (in [0, 65535], default 0)
- Type:
int
- split_length
Curvilinear 2D length for chain splitting (in [0, 10000], default 100.0)
- Type:
float
- texture_slots
Texture slots defining the mapping and influence of textures (default None, readonly)
- texture_spacing
Spacing for textures along stroke length (in [0.01, 100], default 1.0)
- Type:
float
- thickness
Base line thickness, possibly modified by line thickness modifiers (in [0, 10000], default 3.0)
- Type:
float
- thickness_modifiers
List of line thickness modifiers (default None, readonly)
- thickness_position
Thickness position of silhouettes and border edges (applicable when plain chaining is used with the Same Object option) (default
'CENTER')CENTERCenter – Silhouettes and border edges are centered along stroke geometry.INSIDEInside – Silhouettes and border edges are drawn inside of stroke geometry.OUTSIDEOutside – Silhouettes and border edges are drawn outside of stroke geometry.RELATIVERelative – Silhouettes and border edges are shifted by a user-defined ratio.
- Type:
Literal[‘CENTER’, ‘INSIDE’, ‘OUTSIDE’, ‘RELATIVE’]
- thickness_ratio
A number between 0 (inside) and 1 (outside) specifying the relative position of stroke thickness (in [0, 1], default 0.5)
- Type:
float
- use_angle_max
Split chains at points with angles larger than the maximum 2D angle (default False)
- Type:
bool
- use_angle_min
Split chains at points with angles smaller than the minimum 2D angle (default False)
- Type:
bool
- use_chain_count
Enable the selection of first N chains (default False)
- Type:
bool
- use_chaining
Enable chaining of feature edges (default True)
- Type:
bool
- use_dashed_line
Enable or disable dashed line (default False)
- Type:
bool
- use_length_max
Enable the selection of chains by a maximum 2D length (default False)
- Type:
bool
- use_length_min
Enable the selection of chains by a minimum 2D length (default False)
- Type:
bool
- use_nodes
Use shader nodes for the line style (default False)
- Type:
bool
- use_same_object
If true, only feature edges of the same object are joined (default True)
- Type:
bool
- use_sorting
Arrange the stacking order of strokes (default False)
- Type:
bool
- use_split_length
Enable chain splitting by curvilinear 2D length (default False)
- Type:
bool
- use_split_pattern
Enable chain splitting by dashed line patterns (default False)
- Type:
bool
- use_texture
Enable or disable textured strokes (default True)
- 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:
- 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
|