Curve Operators

bpy.ops.curve.cyclic_toggle(direction='CYCLIC_U')

Undocumented (contribute)

Parameters:
  • direction (enum in [‘CYCLIC_U’, ‘CYCLIC_V’], (optional, never None)) – Direction, Direction to make surface cyclic in.
bpy.ops.curve.de_select_first()

Undocumented (contribute)

bpy.ops.curve.de_select_last()

Undocumented (contribute)

bpy.ops.curve.delete(type='SELECTED')

Undocumented (contribute)

Parameters:
  • type (enum in [‘SELECTED’, ‘SEGMENT’, ‘ALL’], (optional, never None)) – Type, Which elements to delete.
bpy.ops.curve.duplicate(mode=1)

Undocumented (contribute)

Parameters:
  • mode (int in [0, inf], (optional)) – Mode
bpy.ops.curve.extrude(mode=1)

Undocumented (contribute)

Parameters:
  • mode (int in [0, inf], (optional)) – Mode
bpy.ops.curve.handle_type_set(type='AUTOMATIC')

Undocumented (contribute)

Parameters:
  • type (enum in [‘AUTOMATIC’, ‘VECTOR’, ‘TOGGLE_FREE_ALIGN’, ‘ALIGN’, ‘FREE_ALIGN’], (optional)) – Type, Spline type
bpy.ops.curve.hide(unselected=False)

Undocumented (contribute)

Parameters:
  • unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
bpy.ops.curve.make_segment()

Undocumented (contribute)

bpy.ops.curve.primitive_bezier_circle_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))

Construct a Bezier Circle

Parameters:
  • view_align (boolean, (optional)) – Align to View, Align the new object to the view.
  • enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this object.
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object.
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object
  • layers (boolean array of 20 items, (optional)) – Layer
bpy.ops.curve.primitive_bezier_curve_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))

Construct a Bezier Curve

Parameters:
  • view_align (boolean, (optional)) – Align to View, Align the new object to the view.
  • enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this object.
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object.
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object
  • layers (boolean array of 20 items, (optional)) – Layer
bpy.ops.curve.primitive_nurbs_circle_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))

Construct a Nurbs Circle

Parameters:
  • view_align (boolean, (optional)) – Align to View, Align the new object to the view.
  • enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this object.
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object.
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object
  • layers (boolean array of 20 items, (optional)) – Layer
bpy.ops.curve.primitive_nurbs_curve_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))

Construct a Nurbs Curve

Parameters:
  • view_align (boolean, (optional)) – Align to View, Align the new object to the view.
  • enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this object.
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object.
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object
  • layers (boolean array of 20 items, (optional)) – Layer
bpy.ops.curve.primitive_nurbs_path_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))

Construct a Path

Parameters:
  • view_align (boolean, (optional)) – Align to View, Align the new object to the view.
  • enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this object.
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object.
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object
  • layers (boolean array of 20 items, (optional)) – Layer
bpy.ops.curve.radius_set(radius=1.0)

Undocumented (contribute)

Parameters:
  • radius (float in [0, inf], (optional)) – Radius
bpy.ops.curve.reveal()

Undocumented (contribute)

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

Undocumented (contribute)

Parameters:
  • action (enum in [‘TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional, never None)) – Action, Selection action to execute
bpy.ops.curve.select_inverse()

Undocumented (contribute)

bpy.ops.curve.select_less()

Undocumented (contribute)

bpy.ops.curve.select_linked(deselect=False, location=(0, 0))

Undocumented (contribute)

Parameters:
  • deselect (boolean, (optional)) – Deselect, Deselect linked control points rather than selecting them.
  • location (int array of 2 items in [0, inf], (optional)) – Location
bpy.ops.curve.select_more()

Undocumented (contribute)

bpy.ops.curve.select_next()

Undocumented (contribute)

bpy.ops.curve.select_nth(nth=2)

Undocumented (contribute)

Parameters:
  • nth (int in [2, 100], (optional)) – Nth Selection
bpy.ops.curve.select_previous()

Undocumented (contribute)

bpy.ops.curve.select_random(percent=50.0, extend=False)

Undocumented (contribute)

Parameters:
  • percent (float in [0, 100], (optional)) – Percent, Percentage of elements to select randomly.
  • extend (boolean, (optional)) – Extend Selection, Extend selection instead of deselecting everything first.
bpy.ops.curve.select_row()

Undocumented (contribute)

bpy.ops.curve.separate()

Undocumented (contribute)

bpy.ops.curve.shade_flat()

Undocumented (contribute)

bpy.ops.curve.shade_smooth()

Undocumented (contribute)

bpy.ops.curve.smooth()

Undocumented (contribute)

bpy.ops.curve.smooth_radius()

Undocumented (contribute)

bpy.ops.curve.spin(center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))

Undocumented (contribute)

Parameters:
  • center (float array of 3 items in [-inf, inf], (optional)) – Center, Center in global view space
  • axis (float array of 3 items in [-1, 1], (optional)) – Axis, Axis in global view space
bpy.ops.curve.spline_type_set(type='POLY')

Undocumented (contribute)

Parameters:
  • type (enum in [‘POLY’, ‘BEZIER’, ‘NURBS’], (optional)) – Type, Spline type
bpy.ops.curve.spline_weight_set(weight=1.0)

Undocumented (contribute)

Parameters:
  • weight (float in [0, 1], (optional)) – Weight
bpy.ops.curve.subdivide(number_cuts=1)

Undocumented (contribute)

Parameters:
  • number_cuts (int in [1, 100], (optional)) – Number of cuts
bpy.ops.curve.switch_direction()

Undocumented (contribute)

bpy.ops.curve.tilt_clear()

Undocumented (contribute)

bpy.ops.curve.vertex_add(location=(0.0, 0.0, 0.0))

Undocumented (contribute)

Parameters:
  • location (float array of 3 items in [-inf, inf], (optional)) – Location, Location to add new vertex at.

Previous topic

Constraint Operators

Next topic

Ed Operators