Sculpt Curves Operators

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

Sculpt curves using a brush

  • 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.


Change the minimum distance used by the density brush


(De)select all control points


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

  • 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


Select curves which are close to curves that are selected already


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

  • 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