Add a new curves object based on the current state of the particle system
Add a new or update an existing hair particle system on the surface object
Remove selected control points or curves
Enter/Exit sculpt mode for curves
(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.curves.select_ends(amount_start=0, amount_end=1)
Select end points of curves
amount_start (int in [0, inf], (optional)) – Amount Front, Number of points to select from the front
amount_end (int in [0, inf], (optional)) – Amount Back, Number of points to select from the back
Shrink the selection by one point
Select all points in curves with any point selection
Grow the selection by one point
- bpy.ops.curves.select_random(seed=0, probability=0.5)
Randomizes existing selection or create new random selection
seed (int in [-inf, inf], (optional)) – Seed, Source of randomness
probability (float in [0, 1], (optional)) – Probability, Chance of every point or curve being included in the selection
Change the mode used for selection masking in curves sculpt mode
domain (enum in Attribute Curves Domain Items, (optional)) – Domain
Move curves so that the first point is exactly on the surface mesh
attach_mode (enum in ['NEAREST', 'DEFORM'], (optional)) –
Attach Mode, How to find the point on the surface to attach to
NEARESTNearest – Find the closest point on the surface for the root point of every curve and move the root there.
DEFORMDeform – Re-attach curves to a deformed surface using the existing attachment information. This only works when the topology of the surface mesh has not changed.
Use the active object as surface for selected curves objects and set it as the parent