Mesh Operators

bpy.ops.mesh.beautify_fill()

Undocumented (contribute)

bpy.ops.mesh.bevel(percent=0.5, recursion=1, use_even=False, use_dist=False)

Edge/Vertex Bevel

Parameters:
  • percent (float in [-inf, inf], (optional)) – Percentage
  • recursion (int in [1, 50], (optional)) – Recursion Level, Recursion Level
  • use_even (boolean, (optional)) – Even, Calculate evenly spaced bevel
  • use_dist (boolean, (optional)) – Distance, Interpret the percent in blender units
bpy.ops.mesh.blend_from_shape(shape='', blend=1.0, add=True)

Blend in shape from a shape key

Parameters:
  • shape (enum in [], (optional)) – Shape, Shape key to use for blending
  • blend (float in [-inf, inf], (optional)) – Blend, Blending factor
  • add (boolean, (optional)) – Add, Add rather than blend between shapes
bpy.ops.mesh.bridge_edge_loops(inside=False)

Make faces between two edge loops

Parameters:inside (boolean, (optional)) – Inside
bpy.ops.mesh.colors_reverse()

Undocumented (contribute)

bpy.ops.mesh.colors_rotate(direction='CCW')

Undocumented (contribute)

Parameters:direction (enum in [‘CW’, ‘CCW’], (optional)) – Direction, Direction to rotate edge around
bpy.ops.mesh.delete(type='VERT', use_verts=False)

Delete selected vertices, edges or faces

Parameters:
  • type (enum in [‘DISSOLVE’, ‘COLLAPSE’, ‘VERT’, ‘EDGE’, ‘FACE’, ‘EDGE_LOOP’, ‘EDGE_FACE’, ‘ONLY_FACE’], (optional)) – Type, Method used for deleting mesh data
  • use_verts (boolean, (optional)) – Dissolve Verts, When dissolving faces/edges, also dissolve remaining vertices
bpy.ops.mesh.delete_edgeloop()

Delete an edge loop by merging the faces on each side to a single face loop

File :startup/bl_operators/wm.py:41
bpy.ops.mesh.dissolve_limited(angle_limit=0.261799)

Dissolve selected edges and verts, limited by the angle of surrounding geometry

Parameters:angle_limit (float in [0, 3.14159], (optional)) – Max Angle, Angle Limit in Degrees
bpy.ops.mesh.drop_named_image(name="Image", filepath="Path")

Assign Image to active UV Map, or create an UV Map

Parameters:
  • name (string, (optional)) – Name, Image name to assign
  • filepath (string, (optional)) – Filepath, Path to image file
bpy.ops.mesh.dupli_extrude_cursor(rotate_source=True)

Duplicate and extrude selected vertices, edges or faces towards the mouse cursor

Parameters:rotate_source (boolean, (optional)) – Rotate Source, Rotate initial selection giving better shape
bpy.ops.mesh.duplicate(mode=1)

Duplicate selected vertices, edges or faces

Parameters:mode (int in [0, inf], (optional)) – Mode
bpy.ops.mesh.duplicate_move(MESH_OT_duplicate=None, TRANSFORM_OT_translate=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_duplicate (MESH_OT_duplicate, (optional)) – Duplicate, Duplicate selected vertices, edges or faces
  • TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate, Translate selected items
bpy.ops.mesh.edge_face_add()

Add an edge or face to selected

bpy.ops.mesh.edge_rotate(direction='CW')

Rotate selected edge or adjoining faces

Parameters:direction (enum in [‘CW’, ‘CCW’], (optional)) – Direction, Direction to rotate edge around
bpy.ops.mesh.edgering_select(extend=False, ring=True)

Select an edge ring

Parameters:
  • extend (boolean, (optional)) – Extend, Extend the selection
  • ring (boolean, (optional)) – Select Ring, Select ring
bpy.ops.mesh.edges_select_sharp(sharpness=1.0)

Marked selected edges as sharp

Parameters:sharpness (float in [0.01, inf], (optional)) – sharpness
bpy.ops.mesh.extrude_edges_indiv(mirror=False)

Undocumented (contribute)

Parameters:mirror (boolean, (optional)) – Mirror Editing
bpy.ops.mesh.extrude_edges_move(MESH_OT_extrude_edges_indiv=None, TRANSFORM_OT_translate=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_extrude_edges_indiv (MESH_OT_extrude_edges_indiv, (optional)) – Extrude Only Edges
  • TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate, Translate selected items
bpy.ops.mesh.extrude_faces_indiv(mirror=False)

Undocumented (contribute)

Parameters:mirror (boolean, (optional)) – Mirror Editing
bpy.ops.mesh.extrude_faces_move(MESH_OT_extrude_faces_indiv=None, TRANSFORM_OT_shrink_fatten=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_extrude_faces_indiv (MESH_OT_extrude_faces_indiv, (optional)) – Extrude Individual Faces
  • TRANSFORM_OT_shrink_fatten (TRANSFORM_OT_shrink_fatten, (optional)) – Shrink/Fatten, Shrink/fatten selected vertices along normals
bpy.ops.mesh.extrude_region(mirror=False)

Undocumented (contribute)

Parameters:mirror (boolean, (optional)) – Mirror Editing
bpy.ops.mesh.extrude_region_move(MESH_OT_extrude_region=None, TRANSFORM_OT_translate=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_extrude_region (MESH_OT_extrude_region, (optional)) – Extrude Region
  • TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate, Translate selected items
bpy.ops.mesh.extrude_repeat(offset=2.0, steps=10)

Extrude selected vertices, edges or faces repeatedly

Parameters:
  • offset (float in [0, 100], (optional)) – Offset
  • steps (int in [0, 180], (optional)) – Steps
bpy.ops.mesh.extrude_vertices_move(MESH_OT_extrude_verts_indiv=None, TRANSFORM_OT_translate=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_extrude_verts_indiv (MESH_OT_extrude_verts_indiv, (optional)) – Extrude Only Vertices
  • TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate, Translate selected items
bpy.ops.mesh.extrude_verts_indiv(mirror=False)

Undocumented (contribute)

Parameters:mirror (boolean, (optional)) – Mirror Editing
bpy.ops.mesh.faces_mirror_uv(direction='POSITIVE')

Copy mirror UV coordinates on the X axis based on a mirrored mesh

Parameters:direction (enum in [‘POSITIVE’, ‘NEGATIVE’], (optional)) – Axis Direction
File :startup/bl_operators/mesh.py:44
bpy.ops.mesh.faces_select_linked_flat(sharpness=1.0)

Select linked faces by angle

Parameters:sharpness (float in [0.01, inf], (optional)) – sharpness
bpy.ops.mesh.faces_shade_flat()

Display faces flat

bpy.ops.mesh.faces_shade_smooth()

Display faces smooth (using vertex normals)

bpy.ops.mesh.fill()

Undocumented (contribute)

bpy.ops.mesh.flip_normals()

Flip the direction of selected faces’ normals (and of their vertices)

bpy.ops.mesh.hide(unselected=False)

Hide (un)selected vertices, edges or faces

Parameters:unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
bpy.ops.mesh.inset(use_even_offset=True, use_relative_offset=False, thickness=0.01, use_outset=False)

Undocumented (contribute)

Parameters:
  • use_even_offset (boolean, (optional)) – Offset Even, Scale the offset to give more even thickness
  • use_relative_offset (boolean, (optional)) – Offset Relative, Scale the offset by surrounding geometry
  • thickness (float in [0, inf], (optional)) – thickness
  • use_outset (boolean, (optional)) – Outset, outset rather then inset
bpy.ops.mesh.knifetool()

Cut new topology

bpy.ops.mesh.loop_multi_select(ring=False)

Select a loop of connected edges by connection type

Parameters:ring (boolean, (optional)) – Ring
bpy.ops.mesh.loop_select(extend=False, ring=False)

Select a loop of connected edges

Parameters:
  • extend (boolean, (optional)) – Extend Select, Extend the selection
  • ring (boolean, (optional)) – Select Ring, Select ring
bpy.ops.mesh.loop_to_region(select_bigger=False)

Undocumented (contribute)

Parameters:select_bigger (boolean, (optional)) – Select Bigger, Select bigger regions instead of smaller ones
bpy.ops.mesh.loopcut(number_cuts=1)

Add a new loop between existing loops

Parameters:number_cuts (int in [1, inf], (optional)) – Number of Cuts
bpy.ops.mesh.loopcut_slide(MESH_OT_loopcut=None, TRANSFORM_OT_edge_slide=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_loopcut (MESH_OT_loopcut, (optional)) – Loop Cut, Add a new loop between existing loops
  • TRANSFORM_OT_edge_slide (TRANSFORM_OT_edge_slide, (optional)) – Edge Slide, Slide an edge loop along a mesh
bpy.ops.mesh.mark_seam(clear=False)

(un)mark selected edges as a seam

Parameters:clear (boolean, (optional)) – Clear
bpy.ops.mesh.mark_sharp(clear=False)

(un)mark selected edges as sharp

Parameters:clear (boolean, (optional)) – Clear
bpy.ops.mesh.merge(type='CENTER', uvs=True)

Undocumented (contribute)

Parameters:
  • type (enum in [‘FIRST’, ‘LAST’, ‘CENTER’, ‘CURSOR’, ‘COLLAPSE’], (optional)) – Type, Merge method to use
  • uvs (boolean, (optional)) – UVs, Move UVs according to merge
bpy.ops.mesh.navmesh_clear()

Remove navmesh data from this mesh

bpy.ops.mesh.navmesh_face_add()

Add a new index and assign it to selected faces

bpy.ops.mesh.navmesh_face_copy()

Copy the index from the active face

bpy.ops.mesh.navmesh_make()

Create navigation mesh for selected objects

bpy.ops.mesh.navmesh_reset()

Assign a new index to every face

bpy.ops.mesh.noise(factor=0.1)

Use vertex coordinate as texture coordinate

Parameters:factor (float in [-inf, inf], (optional)) – Factor
bpy.ops.mesh.normals_make_consistent(inside=False)

Make face and vertex normals point either outside or inside the mesh

Parameters:inside (boolean, (optional)) – Inside
bpy.ops.mesh.primitive_circle_add(vertices=32, radius=1.0, fill_type='NOTHING', 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 circle mesh

Parameters:
  • vertices (int in [3, inf], (optional)) – Vertices
  • radius (float in [0, inf], (optional)) – Radius
  • fill_type (enum in [‘NOTHING’, ‘NGON’, ‘TRIFAN’], (optional)) –

    Fill Type

    • NOTHING Nothing, Don’t fill at all.
    • NGON Ngon, Use ngons.
    • TRIFAN Triangle Fan, Use triangle fans.
  • 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.mesh.primitive_cone_add(vertices=32, radius1=1.0, radius2=0.0, depth=2.0, end_fill_type='NGON', 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 conic mesh

Parameters:
  • vertices (int in [2, inf], (optional)) – Vertices
  • radius1 (float in [0, inf], (optional)) – Radius 1
  • radius2 (float in [0, inf], (optional)) – Radius 2
  • depth (float in [0, inf], (optional)) – Depth
  • end_fill_type (enum in [‘NOTHING’, ‘NGON’, ‘TRIFAN’], (optional)) –

    Base Fill Type

    • NOTHING Nothing, Don’t fill at all.
    • NGON Ngon, Use ngons.
    • TRIFAN Triangle Fan, Use triangle fans.
  • 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.mesh.primitive_cube_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 cube mesh

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.mesh.primitive_cylinder_add(vertices=32, radius=1.0, depth=2.0, end_fill_type='NGON', 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 cylinder mesh

Parameters:
  • vertices (int in [2, inf], (optional)) – Vertices
  • radius (float in [0, inf], (optional)) – Radius
  • depth (float in [0, inf], (optional)) – Depth
  • end_fill_type (enum in [‘NOTHING’, ‘NGON’, ‘TRIFAN’], (optional)) –

    Cap Fill Type

    • NOTHING Nothing, Don’t fill at all.
    • NGON Ngon, Use ngons.
    • TRIFAN Triangle Fan, Use triangle fans.
  • 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.mesh.primitive_grid_add(x_subdivisions=10, y_subdivisions=10, size=1.0, 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 grid mesh

Parameters:
  • x_subdivisions (int in [3, inf], (optional)) – X Subdivisions
  • y_subdivisions (int in [3, inf], (optional)) – Y Subdivisions
  • size (float in [0, inf], (optional)) – Size
  • 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.mesh.primitive_ico_sphere_add(subdivisions=2, size=1.0, 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 an Icosphere mesh

Parameters:
  • subdivisions (int in [1, inf], (optional)) – Subdivisions
  • size (float in [0, inf], (optional)) – Size
  • 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.mesh.primitive_monkey_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 Suzanne mesh

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.mesh.primitive_plane_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 filled planar mesh with 4 vertices

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.mesh.primitive_torus_add(view_align=False, location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), major_radius=1.0, minor_radius=0.25, major_segments=48, minor_segments=12, use_abso=False, abso_major_rad=1.0, abso_minor_rad=0.5)

Add a torus mesh

Parameters:
  • view_align (boolean, (optional)) – Align to View
  • location (float array of 3 items in [-inf, inf], (optional)) – Location
  • rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation
  • major_radius (float in [0.01, 100], (optional)) – Major Radius, Radius from the origin to the center of the cross sections
  • minor_radius (float in [0.01, 100], (optional)) – Minor Radius, Radius of the torus’ cross section
  • major_segments (int in [3, 256], (optional)) – Major Segments, Number of segments for the main ring of the torus
  • minor_segments (int in [3, 256], (optional)) – Minor Segments, Number of segments for the minor ring of the torus
  • use_abso (boolean, (optional)) – Use Int+Ext Controls, Use the Int / Ext controls for torus dimensions
  • abso_major_rad (float in [0.01, 100], (optional)) – Exterior Radius, Total Exterior Radius of the torus
  • abso_minor_rad (float in [0.01, 100], (optional)) – Inside Radius, Total Interior Radius of the torus
File :

startup/bl_operators/add_mesh_torus.py:136

bpy.ops.mesh.primitive_uv_sphere_add(segments=32, ring_count=16, size=1.0, 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 UV sphere mesh

Parameters:
  • segments (int in [3, inf], (optional)) – Segments
  • ring_count (int in [3, inf], (optional)) – Rings
  • size (float in [0, inf], (optional)) – Size
  • 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.mesh.quads_convert_to_tris(use_beauty=True)

Undocumented (contribute)

Parameters:use_beauty (boolean, (optional)) – Beauty, Use best triangulation division (currently quads only)
bpy.ops.mesh.region_to_loop()

Undocumented (contribute)

bpy.ops.mesh.remove_doubles(mergedist=0.0001)

Undocumented (contribute)

Parameters:mergedist (float in [1e-06, 50], (optional)) – Merge Distance, Minimum distance between elements to merge
bpy.ops.mesh.reveal()

Reveal all hidden vertices, edges and faces

bpy.ops.mesh.rip(proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1.0, release_confirm=False, mirror=False)

Undocumented (contribute)

Parameters:
  • proportional (enum in [‘DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) –

    Proportional Editing

    • DISABLED Disable, Proportional Editing disabled.
    • ENABLED Enable, Proportional Editing enabled.
    • CONNECTED Connected, Proportional Editing using connected geometry only.
  • proportional_edit_falloff (enum in [‘SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LINEAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) –

    Proportional Editing Falloff, Falloff type for proportional editing mode

    • SMOOTH Smooth, Smooth falloff.
    • SPHERE Sphere, Spherical falloff.
    • ROOT Root, Root falloff.
    • SHARP Sharp, Sharp falloff.
    • LINEAR Linear, Linear falloff.
    • CONSTANT Constant, Constant falloff.
    • RANDOM Random, Random falloff.
  • proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
  • release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation when releasing button
  • mirror (boolean, (optional)) – Mirror Editing
bpy.ops.mesh.rip_move(MESH_OT_rip=None, TRANSFORM_OT_translate=None)

Undocumented (contribute)

Parameters:
  • MESH_OT_rip (MESH_OT_rip, (optional)) – Rip
  • TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate, Translate selected items
bpy.ops.mesh.screw(steps=9, turns=1, center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))

Undocumented (contribute)

Parameters:
  • steps (int in [0, inf], (optional)) – Steps, Steps
  • turns (int in [0, inf], (optional)) – Turns, Turns
  • 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.mesh.select_all(action='TOGGLE')

(De)select all vertices, edges or faces

Parameters:action (enum in [‘TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) –

Action, Selection action to execute

  • TOGGLE Toggle, Toggle selection for all elements.
  • SELECT Select, Select all elements.
  • DESELECT Deselect, Deselect all elements.
  • INVERT Invert, Invert selection of all elements.
bpy.ops.mesh.select_axis(mode='POSITIVE', axis='X_AXIS')

Select all data in the mesh on a single axis

Parameters:
  • mode (enum in [‘POSITIVE’, ‘NEGATIVE’, ‘ALIGNED’], (optional)) – Axis Mode, Axis side to use when selecting
  • axis (enum in [‘X_AXIS’, ‘Y_AXIS’, ‘Z_AXIS’], (optional)) – Axis, Select the axis to compare each vertex on
bpy.ops.mesh.select_by_number_vertices(number=4, type='EQUAL')

Select vertices or faces by vertex count

Parameters:
  • number (int in [3, inf], (optional)) – Number of Vertices
  • type (enum in [‘LESS’, ‘EQUAL’, ‘GREATER’, ‘NOTEQUAL’], (optional)) – Type, Type of comparison to make
bpy.ops.mesh.select_interior_faces()

Select faces where all edges have more than 2 face users

bpy.ops.mesh.select_less()

Deselect vertices, edges or faces at the boundary of each selection region

bpy.ops.mesh.select_linked(limit=False)

Select all vertices linked to the active mesh

Parameters:limit (boolean, (optional)) – Limit by Seams
bpy.ops.mesh.select_linked_pick(deselect=False, limit=False)

(De)select all vertices linked to the edge under the mouse cursor

Parameters:
  • deselect (boolean, (optional)) – Deselect
  • limit (boolean, (optional)) – Limit by Seams
bpy.ops.mesh.select_loose_verts()

Select vertices with no edges nor faces, and edges with no faces

bpy.ops.mesh.select_mirror(extend=False)

Select mesh items at mirrored locations

Parameters:extend (boolean, (optional)) – Extend, Extend the existing selection
bpy.ops.mesh.select_more()

Select more vertices, edges or faces connected to initial selection

bpy.ops.mesh.select_next_loop()

Undocumented (contribute)

bpy.ops.mesh.select_non_manifold()

Select all non-manifold vertices or edges

bpy.ops.mesh.select_nth(nth=2, offset=0)

Undocumented (contribute)

Parameters:
  • nth (int in [2, 100], (optional)) – Nth Selection
  • offset (int in [0, 100], (optional)) – Offset
bpy.ops.mesh.select_random(percent=50.0, extend=False)

Randomly select vertices

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.mesh.select_shortest_path(extend=False)

Select shortest path between two selections

Parameters:extend (boolean, (optional)) – Extend Select
bpy.ops.mesh.select_similar(type='NORMAL', threshold=0.0)

Select similar vertices, edges or faces by property types

Parameters:
  • type (enum in [‘NORMAL’, ‘FACE’, ‘VGROUP’, ‘LENGTH’, ‘DIR’, ‘FACE’, ‘FACE_ANGLE’, ‘CREASE’, ‘SEAM’, ‘SHARP’, ‘MATERIAL’, ‘IMAGE’, ‘AREA’, ‘PERIMETER’, ‘NORMAL’, ‘COPLANAR’], (optional)) – Type
  • threshold (float in [0, 1], (optional)) – Threshold
bpy.ops.mesh.select_vertex_path(type='EDGE_LENGTH')

Undocumented (contribute)

Parameters:type (enum in [‘EDGE_LENGTH’, ‘TOPOLOGICAL’], (optional)) – Type, Method to compute distance
bpy.ops.mesh.separate(type='SELECTED')

Separate selected geometry into a new mesh

Parameters:type (enum in [‘SELECTED’, ‘MATERIAL’, ‘LOOSE’], (optional)) – Type
bpy.ops.mesh.shape_propagate_to_all()

Apply selected vertex locations to all other shape keys

bpy.ops.mesh.solidify(thickness=0.01)

Create a solid skin by extruding, compensating for sharp angles

Parameters:thickness (float in [-inf, inf], (optional)) – thickness
bpy.ops.mesh.sort_faces(type='VIEW_AXIS')

The faces of the active Mesh Object are sorted, based on the current view

Parameters:type (enum in [‘VIEW_AXIS’, ‘CURSOR_DISTANCE’, ‘MATERIAL’, ‘SELECTED’, ‘RANDOMIZE’], (optional)) – Type
bpy.ops.mesh.spin(steps=9, dupli=False, degrees=90.0, center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))

Undocumented (contribute)

Parameters:
  • steps (int in [0, inf], (optional)) – Steps, Steps
  • dupli (boolean, (optional)) – Dupli, Make Duplicates
  • degrees (float in [-inf, inf], (optional)) – Degrees, Degrees
  • 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.mesh.split()

Undocumented (contribute)

bpy.ops.mesh.sticky_add()

Add sticky UV texture layer

bpy.ops.mesh.sticky_remove()

Remove sticky UV texture layer

bpy.ops.mesh.subdivide(number_cuts=1, smoothness=0.0, quadtri=False, quadcorner='STRAIGHT_CUT', fractal=0.0, seed=0)

Subdivide selected edges

Parameters:
  • number_cuts (int in [1, inf], (optional)) – Number of Cuts
  • smoothness (float in [0, inf], (optional)) – Smoothness, Smoothness factor (BMESH TODO)
  • quadtri (boolean, (optional)) – Quad/Tri Mode, Tries to prevent ngons
  • quadcorner (enum in [‘INNERVERT’, ‘PATH’, ‘STRAIGHT_CUT’, ‘FAN’], (optional)) – Quad Corner Type, How to subdivide quad corners (anything other than Straight Cut will prevent ngons)
  • fractal (float in [0, inf], (optional)) – Fractal, Fractal randomness factor
  • seed (int in [0, 10000], (optional)) – Random Seed, Seed for the random number generator
bpy.ops.mesh.tris_convert_to_quads(limit=0.698132, uvs=False, vcols=False, sharp=False, materials=False)

Undocumented (contribute)

Parameters:
  • limit (float in [0, 3.14159], (optional)) – Max Angle, Angle Limit
  • uvs (boolean, (optional)) – Compare UVs
  • vcols (boolean, (optional)) – Compare VCols
  • sharp (boolean, (optional)) – Compare Sharp
  • materials (boolean, (optional)) – Compare Materials
bpy.ops.mesh.uv_texture_add()

Add UV Map

bpy.ops.mesh.uv_texture_remove()

Remove UV Map

bpy.ops.mesh.uvs_reverse()

Undocumented (contribute)

bpy.ops.mesh.uvs_rotate(direction='CW')

Undocumented (contribute)

Parameters:direction (enum in [‘CW’, ‘CCW’], (optional)) – Direction, Direction to rotate UVs around
bpy.ops.mesh.vert_connect()

Undocumented (contribute)

bpy.ops.mesh.vertex_color_add()

Add vertex color layer

bpy.ops.mesh.vertex_color_remove()

Remove vertex color layer

bpy.ops.mesh.vertices_randomize()

Randomize vertex order

bpy.ops.mesh.vertices_smooth(repeat=1)

Flatten angles of selected vertices

Parameters:repeat (int in [1, 100], (optional)) – Number of times to smooth the mesh
bpy.ops.mesh.vertices_sort()

Sort vertex order

Previous topic

Mball Operators

Next topic

Nla Operators