# CurvePaintSettings(bpy_struct)

base class — `bpy_struct`

class `bpy.types.``CurvePaintSettings`(bpy_struct)
  `corner_angle`

    Angles above this are considered corners

    Type: | float in [0, 3.14159], default 1.22173

  `curve_type`

    Type of curve to use for new strokes

    Type: | enum in [‘POLY’, ‘BEZIER’], default ‘BEZIER’

  `depth_mode`

    Method of projecting depth

    Type: | enum in [‘CURSOR’, ‘SURFACE’], default ‘CURSOR’

  `error_threshold`

    Allow deviation for a smoother, less precise line

    Type: | int in [1, 100], default 8

  `fit_method`

    Curve fitting method

    - `REFIT` Refit, Incrementally re-fit the curve (high quality).
    - `SPLIT` Split, Split the curve until the tolerance is met (fast).

    Type: | enum in [‘REFIT’, ‘SPLIT’], default ‘REFIT’

  `radius_max`

    Radius to use when the maximum pressure is applied (or when a tablet isn’t used)

    Type: | float in [0, 100], default 1.0

  `radius_min`

    Minimum radius when the minimum pressure is applied (also the minimum when tapering)

    Type: | float in [0, 100], default 0.0

  `radius_taper_end`

    Taper factor for the radius of each point along the curve

    Type: | float in [0, 10], default 0.0

  `radius_taper_start`

    Taper factor for the radius of each point along the curve

    Type: | float in [0, 1], default 0.0

  `surface_offset`

    Offset the stroke from the surface

    Type: | float in [-10, 10], default 0.0

  `surface_plane`

    Plane for projected stroke

    - `NORMAL_VIEW` Normal/View, Display perpendicular to the surface.
    - `NORMAL_SURFACE` Normal/Surface, Display aligned to the surface.
    - `VIEW` View, Display aligned to the viewport.

    Type: | enum in [‘NORMAL_VIEW’, ‘NORMAL_SURFACE’, ‘VIEW’], default ‘NORMAL_VIEW’

  `use_corners_detect`

    Detect corners and use non-aligned handles

    Type: | boolean, default True

  `use_offset_absolute`

    Apply a fixed offset (don’t scale by the radius)

    Type: | boolean, default False

  `use_pressure_radius`

    Map tablet pressure to curve radius

    Type: | boolean, default False

  `use_stroke_endpoints`

    Use the start of the stroke for the depth

    Type: | boolean, default False

  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

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_overridable_library` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` `bpy_struct.keyframe_delete` | `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.pop` `bpy_struct.property_overridable_library_set` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`ToolSettings.curve_paint_settings` |