CurvePaintSettings(bpy_struct)¶
base class — bpy_struct
- class bpy.types.CurvePaintSettings(bpy_struct)¶
- corner_angle¶
Angles above this are considered corners (in [0, 3.14159], default 1.22173)
- Type:
float
- curve_type¶
Type of curve to use for new strokes (default
'BEZIER')- Type:
Literal[‘POLY’, ‘BEZIER’]
- depth_mode¶
Method of projecting depth (default
'CURSOR')- Type:
Literal[‘CURSOR’, ‘SURFACE’]
- error_threshold¶
Allow deviation for a smoother, less precise line (in [1, 100], default 8)
- Type:
int
- fit_method¶
Curve fitting method (default
'REFIT')- Type:
Literal[Curve Fit Method Items]
- radius_max¶
Radius to use when the maximum pressure is applied (or when a tablet isn’t used) (in [0, 100], default 1.0)
- Type:
float
- radius_min¶
Minimum radius when the minimum pressure is applied (also the minimum when tapering) (in [0, 100], default 0.0)
- Type:
float
- radius_taper_end¶
Taper factor for the radius of each point along the curve (in [0, 10], default 0.0)
- Type:
float
- radius_taper_start¶
Taper factor for the radius of each point along the curve (in [0, 1], default 0.0)
- Type:
float
- surface_offset¶
Offset the stroke from the surface (in [-10, 10], default 0.0)
- Type:
float
- surface_plane¶
Plane for projected stroke (default
'NORMAL_VIEW')NORMAL_VIEWNormal to Surface – Draw in a plane perpendicular to the surface.NORMAL_SURFACETangent to Surface – Draw in the surface plane.VIEWView – Draw in a plane aligned to the viewport.
- Type:
Literal[‘NORMAL_VIEW’, ‘NORMAL_SURFACE’, ‘VIEW’]
- use_corners_detect¶
Detect corners and use non-aligned handles (default True)
- Type:
bool
- use_offset_absolute¶
Apply a fixed offset (don’t scale by the radius) (default False)
- Type:
bool
- use_pressure_radius¶
Map tablet pressure to curve radius (default False)
- Type:
bool
- use_project_only_selected¶
Project the strokes only onto selected objects (default False)
- Type:
bool
- use_stroke_endpoints¶
Use the start of the stroke for the depth (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:
- 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