Sculpt Curves Operators

bpy.ops.sculpt_curves.brush_stroke(stroke=None, mode='NORMAL')

Sculpt curves using a brush

Parameters
  • stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke

  • mode (enum in ['NORMAL', 'INVERT', 'SMOOTH'], (optional)) –

    Stroke Mode, Action taken when a paint stroke is made

    • NORMAL Regular – Apply brush normally.

    • INVERT Invert – Invert action of brush for duration of stroke.

    • SMOOTH Smooth – Switch brush to smooth mode for duration of stroke.

bpy.ops.sculpt_curves.min_distance_edit()

Change the minimum distance used by the density brush

bpy.ops.sculpt_curves.select_all(action='TOGGLE')

(De)select all control points

Parameters

action (enum in ['TOGGLE', 'SELECT', 'DESELECT', 'INVERT'], (optional)) –

Action, Selection action to execute

  • TOGGLE Toggle – Toggle selection for all elements.

  • SELECT Select – Select all elements.

  • DESELECT Deselect – Deselect all elements.

  • INVERT Invert – Invert selection of all elements.

bpy.ops.sculpt_curves.select_end(end_points=True, amount=1)

Select end points of curves

Parameters
  • end_points (boolean, (optional)) – End Points, Select points at the end of the curve as opposed to the beginning

  • amount (int in [0, inf], (optional)) – Amount, Number of points to select

bpy.ops.sculpt_curves.select_grow(distance=0.1)

Select curves which are close to curves that are selected already

Parameters

distance (float in [-inf, inf], (optional)) – Distance, By how much to grow the selection

bpy.ops.sculpt_curves.select_random(seed=0, partial=False, probability=0.5, min=0.0, constant_per_curve=True)

Randomizes existing selection or create new random selection

Parameters
  • seed (int in [-inf, inf], (optional)) – Seed, Source of randomness

  • partial (boolean, (optional)) – Partial, Allow points or curves to be selected partially

  • probability (float in [0, 1], (optional)) – Probability, Chance of every point or curve being included in the selection

  • min (float in [0, 1], (optional)) – Min, Minimum value for the random selection

  • constant_per_curve (boolean, (optional)) – Constant per Curve, The generated random number is the same for every control point of a curve