Sculpt Curves Operators
- bpy.ops.sculpt_curves.brush_stroke(stroke=None, mode='NORMAL')
Sculpt curves using a brush
OperatorStrokeElement, (optional)) – Stroke
mode (enum in ['NORMAL', 'INVERT', 'SMOOTH'], (optional)) –
Stroke Mode, Action taken when a paint stroke is made
NORMALRegular – Apply brush normally.
INVERTInvert – Invert action of brush for duration of stroke.
SMOOTHSmooth – 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
TOGGLEToggle – Toggle selection for all elements.
SELECTSelect – Select all elements.
DESELECTDeselect – Deselect all elements.
INVERTInvert – 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