BrushCurvesSculptSettings(bpy_struct)

base class — bpy_struct

class bpy.types.BrushCurvesSculptSettings(bpy_struct)
add_amount

Number of curves added by the Add brush (in [1, inf], default 0)

Type:

int

curve_length

Length of newly added curves when it is not interpolated from other curves (in [0, inf], default 0.0)

Type:

float

curve_parameter_falloff

Falloff that is applied from the tip to the root of each curve (readonly)

Type:

CurveMapping

curve_radius

Radius of newly added curves when it is not interpolated from other curves (in [0, inf], default 0.01)

Type:

float

density_add_attempts

How many times the Density brush tries to add a new curve (in [0, inf], default 0)

Type:

int

density_mode

Determines whether the brush adds or removes curves (default 'AUTO')

  • AUTO Auto – Either add or remove curves depending on the minimum distance of the curves under the cursor.

  • ADD Add – Add new curves between existing curves, taking the minimum distance into account.

  • REMOVE Remove – Remove curves whose root points are too close.

Type:

Literal[‘AUTO’, ‘ADD’, ‘REMOVE’]

minimum_distance

Goal distance between curve roots for the Density brush (in [0, inf], default 0.0)

Type:

float

minimum_length

Avoid shrinking curves shorter than this length (in [0, inf], default 0.0)

Type:

float

points_per_curve

Number of control points in a newly added curve (in [2, inf], default 0)

Type:

int

use_length_interpolate

Use length of the curves in close proximity (default False)

Type:

bool

use_point_count_interpolate

Use the number of points from the curves in close proximity (default False)

Type:

bool

use_radius_interpolate

Use radius of the curves in close proximity (default True)

Type:

bool

use_shape_interpolate

Use shape of the curves in close proximity (default False)

Type:

bool

use_uniform_scale

Grow or shrink curves by changing their size uniformly instead of using trimming or extrapolation (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