Sculpt Operators

bpy.ops.sculpt.brush_stroke(stroke=None, mode='NORMAL', ignore_background_click=False)

Sculpt a stroke into the geometry

Parameters:
  • stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke
  • mode (enum in [‘NORMAL’, ‘INVERT’, ‘SMOOTH’], (optional)) –

    Sculpt Stroke Mode, Action taken when a sculpt stroke is made

    • NORMAL Normal, Apply brush normally.
    • INVERT Invert, Invert action of brush for duration of stroke.
    • SMOOTH Smooth, Switch brush to smooth mode for duration of stroke.
  • ignore_background_click (boolean, (optional)) – Ignore Background Click, Clicks on the background do not start the stroke
bpy.ops.sculpt.sculptmode_toggle()

Toggle sculpt mode in 3D view

bpy.ops.sculpt.set_persistent_base()

Reset the copy of the mesh that is being sculpted on

bpy.ops.sculpt.uv_sculpt_stroke(mode='NORMAL')

Sculpt UVs using a brush

Parameters:mode (enum in [‘NORMAL’, ‘INVERT’, ‘RELAX’], (optional)) –

Mode, Stroke Mode

  • NORMAL Normal, Apply brush normally.
  • INVERT Invert, Invert action of brush for duration of stroke.
  • RELAX Relax, Switch brush to relax mode for duration of stroke.

Previous topic

Script Operators

Next topic

Sequencer Operators