Paint Operators

bpy.ops.paint.clone_cursor_set(location=(0.0, 0.0, 0.0))

Undocumented (contribute)

Parameters:location (float array of 3 items in [-inf, inf], (optional)) – Location, Cursor location in world space coordinates.
bpy.ops.paint.face_select_all(action='TOGGLE')

Change selection for all faces

Parameters:action (enum in [‘TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Action, Selection action to execute
bpy.ops.paint.face_select_hide(unselected=False)

Hide selected faces

Parameters:unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected objects.
bpy.ops.paint.face_select_inverse()

Invert selection of faces

bpy.ops.paint.face_select_linked()

Select linked faces

bpy.ops.paint.face_select_linked_pick(extend=False)

Select linked faces

Parameters:extend (boolean, (optional)) – Extend, Extend the existing selection
bpy.ops.paint.face_select_reveal(unselected=False)

Reveal hidden faces

Parameters:unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected objects.
bpy.ops.paint.grab_clone(delta=(0.0, 0.0))

Undocumented (contribute)

Parameters:delta (float array of 2 items in [-inf, inf], (optional)) – Delta, Delta offset of clone image in 0.0..1.0 coordinates.
bpy.ops.paint.image_from_view(filepath="")

Make an image from the current 3D view for re-projection

Parameters:filepath (string, (optional)) – File Path, Name of the file
bpy.ops.paint.image_paint(stroke=None)

Undocumented (contribute)

Parameters:stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke
bpy.ops.paint.project_image(image='')

Project an edited render from the active camera back onto the object

Parameters:image (enum in [], (optional)) – Image
bpy.ops.paint.sample_color(location=(0, 0))

Undocumented (contribute)

Parameters:location (int array of 2 items in [0, inf], (optional)) – Location, Cursor location in region coordinates.
bpy.ops.paint.texture_paint_toggle()

Undocumented (contribute)

bpy.ops.paint.vertex_color_dirt(blur_strength=1.0, blur_iterations=1, clean_angle=180.0, dirt_angle=0.0, dirt_only=False)

Undocumented (contribute)

Parameters:
  • blur_strength (float in [0.01, 1], (optional)) – Blur Strength, Blur strength per iteration
  • blur_iterations (int in [0, 40], (optional)) – Blur Iterations, Number times to blur the colors. (higher blurs more)
  • clean_angle (float in [0, 180], (optional)) – Highlight Angle, Less then 90 limits the angle used in the tonal range
  • dirt_angle (float in [0, 180], (optional)) – Dirt Angle, Less then 90 limits the angle used in the tonal range
  • dirt_only (boolean, (optional)) – Dirt Only, Dont calculate cleans for convex areas
File :

startup/bl_operators/vertexpaint_dirt.py:184

bpy.ops.paint.vertex_color_set()

Undocumented (contribute)

bpy.ops.paint.vertex_paint(stroke=None)

Undocumented (contribute)

Parameters:stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke
bpy.ops.paint.vertex_paint_toggle()

Undocumented (contribute)

bpy.ops.paint.weight_from_bones(type='AUTOMATIC')

Undocumented (contribute)

Parameters:type (enum in [‘AUTOMATIC’, ‘ENVELOPES’], (optional)) – Type, Method to use for assigning weights.
bpy.ops.paint.weight_paint(stroke=None)

Undocumented (contribute)

Parameters:stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) – Stroke
bpy.ops.paint.weight_paint_toggle()

Undocumented (contribute)

bpy.ops.paint.weight_sample()

Undocumented (contribute)

bpy.ops.paint.weight_sample_group(group='DEFAULT')

Undocumented (contribute)

Parameters:group (enum in [‘DEFAULT’], (optional)) – Keying Set, The Keying Set to use
bpy.ops.paint.weight_set()

Undocumented (contribute)

Previous topic

Outliner Operators

Next topic

Particle Operators