Blender  V3.3
Macros | Variables
bmesh_opdefines.c File Reference
#include "BLI_utildefines.h"
#include "bmesh.h"
#include "intern/bmesh_operators_private.h"
#include "DNA_modifier_types.h"

Go to the source code of this file.

Macros

#define BM_FACE   ((int)BM_FACE)
 
#define BM_EDGE   ((int)BM_EDGE)
 
#define BM_VERT   ((int)BM_VERT)
 

Variables

static BMO_FlagSet bmo_enum_axis_xyz []
 
static BMO_FlagSet bmo_enum_axis_neg_xyz_and_xyz []
 
static BMO_FlagSet bmo_enum_falloff_type []
 
static BMOpDefine bmo_smooth_vert_def
 
static BMOpDefine bmo_smooth_laplacian_vert_def
 
static BMOpDefine bmo_recalc_face_normals_def
 
static BMOpDefine bmo_planar_faces_def
 
static BMOpDefine bmo_region_extend_def
 
static BMOpDefine bmo_rotate_edges_def
 
static BMOpDefine bmo_reverse_faces_def
 
static BMOpDefine bmo_bisect_edges_def
 
static BMOpDefine bmo_mirror_def
 
static BMOpDefine bmo_find_doubles_def
 
static BMOpDefine bmo_remove_doubles_def
 
static BMOpDefine bmo_collapse_def
 
static BMOpDefine bmo_pointmerge_facedata_def
 
static BMOpDefine bmo_average_vert_facedata_def
 
static BMOpDefine bmo_pointmerge_def
 
static BMOpDefine bmo_collapse_uvs_def
 
static BMOpDefine bmo_weld_verts_def
 
static BMOpDefine bmo_create_vert_def
 
static BMOpDefine bmo_join_triangles_def
 
static BMOpDefine bmo_contextual_create_def
 
static BMOpDefine bmo_bridge_loops_def
 
static BMOpDefine bmo_grid_fill_def
 
static BMOpDefine bmo_holes_fill_def
 
static BMOpDefine bmo_face_attribute_fill_def
 
static BMOpDefine bmo_edgeloop_fill_def
 
static BMOpDefine bmo_edgenet_fill_def
 
static BMOpDefine bmo_edgenet_prepare_def
 
static BMOpDefine bmo_rotate_def
 
static BMOpDefine bmo_translate_def
 
static BMOpDefine bmo_scale_def
 
static BMOpDefine bmo_transform_def
 
static BMOpDefine bmo_object_load_bmesh_def
 
static BMOpDefine bmo_bmesh_to_mesh_def
 
static BMOpDefine bmo_mesh_to_bmesh_def
 
static BMOpDefine bmo_extrude_discrete_faces_def
 
static BMOpDefine bmo_extrude_edge_only_def
 
static BMOpDefine bmo_extrude_vert_indiv_def
 
static BMOpDefine bmo_connect_verts_def
 
static BMOpDefine bmo_connect_verts_concave_def
 
static BMOpDefine bmo_connect_verts_nonplanar_def
 
static BMOpDefine bmo_connect_vert_pair_def
 
static BMOpDefine bmo_extrude_face_region_def
 
static BMOpDefine bmo_dissolve_verts_def
 
static BMOpDefine bmo_dissolve_edges_def
 
static BMOpDefine bmo_dissolve_faces_def
 
static BMO_FlagSet bmo_enum_dissolve_limit_flags []
 
static BMOpDefine bmo_dissolve_limit_def
 
static BMOpDefine bmo_dissolve_degenerate_def
 
static BMO_FlagSet bmo_enum_triangulate_quad_method []
 
static BMO_FlagSet bmo_enum_triangulate_ngon_method []
 
static BMOpDefine bmo_triangulate_def
 
static BMOpDefine bmo_unsubdivide_def
 
static BMO_FlagSet bmo_enum_subdivide_edges_quad_corner_type []
 
static BMOpDefine bmo_subdivide_edges_def
 
static BMO_FlagSet bmo_enum_subdivide_edgering_interp_mode []
 
static BMOpDefine bmo_subdivide_edgering_def
 
static BMOpDefine bmo_bisect_plane_def
 
static BMO_FlagSet bmo_enum_delete_context []
 
static BMOpDefine bmo_delete_def
 
static BMOpDefine bmo_duplicate_def
 
static BMOpDefine bmo_split_def
 
static BMOpDefine bmo_spin_def
 
static BMOpDefine bmo_rotate_uvs_def
 
static BMOpDefine bmo_reverse_uvs_def
 
static BMOpDefine bmo_rotate_colors_def
 
static BMOpDefine bmo_reverse_colors_def
 
static BMOpDefine bmo_split_edges_def
 
static BMOpDefine bmo_create_grid_def
 
static BMOpDefine bmo_create_uvsphere_def
 
static BMOpDefine bmo_create_icosphere_def
 
static BMOpDefine bmo_create_monkey_def
 
static BMOpDefine bmo_create_cone_def
 
static BMOpDefine bmo_create_circle_def
 
static BMOpDefine bmo_create_cube_def
 
static BMO_FlagSet bmo_enum_bevel_offset_type []
 
static BMO_FlagSet bmo_enum_bevel_profile_type []
 
static BMO_FlagSet bmo_enum_bevel_face_strength_type []
 
static BMO_FlagSet bmo_enum_bevel_miter_type []
 
static BMO_FlagSet bmo_enum_bevel_vmesh_method []
 
static BMO_FlagSet bmo_enum_bevel_affect_type []
 
static BMOpDefine bmo_bevel_def
 
static BMO_FlagSet bmo_enum_beautify_fill_method []
 
static BMOpDefine bmo_beautify_fill_def
 
static BMOpDefine bmo_triangle_fill_def
 
static BMOpDefine bmo_solidify_def
 
static BMOpDefine bmo_inset_individual_def
 
static BMOpDefine bmo_inset_region_def
 
static BMOpDefine bmo_offset_edgeloops_def
 
static BMOpDefine bmo_wireframe_def
 
static BMO_FlagSet bmo_enum_poke_center_mode []
 
static BMOpDefine bmo_poke_def
 
static BMOpDefine bmo_symmetrize_def
 
const BMOpDefinebmo_opdefines []
 
const int bmo_opdefines_total = ARRAY_SIZE(bmo_opdefines)
 

Detailed Description

BMesh operator definitions.

This file defines (and documents) all bmesh operators (bmops).

Do not rename any operator or slot names! otherwise you must go through the code and find all references to them!

A word on slot names:

For geometry input slots, the following are valid names:

The basic rules are, for single-type geometry slots, use the plural of the type name (e.g. edges). for double-type slots, use the two type names plus "in" (e.g. edgefacein). for three-type slots, use geom.

for output slots, for single-type geometry slots, use the type name plus "out", (e.g. verts.out), for double-type slots, use the two type names plus "out", (e.g. vertfaces.out), for three-type slots, use geom. note that you can also use more esoteric names (e.g. geom_skirt.out) so long as the comment next to the slot definition tells you what types of elements are in it.

Definition in file bmesh_opdefines.c.

Macro Definition Documentation

◆ BM_EDGE

#define BM_EDGE   ((int)BM_EDGE)

Definition at line 113 of file bmesh_opdefines.c.

◆ BM_FACE

#define BM_FACE   ((int)BM_FACE)

Definition at line 112 of file bmesh_opdefines.c.

◆ BM_VERT

#define BM_VERT   ((int)BM_VERT)

Definition at line 114 of file bmesh_opdefines.c.

Variable Documentation

◆ bmo_average_vert_facedata_def

BMOpDefine bmo_average_vert_facedata_def
static
Initial value:
= {
"average_vert_facedata",
{{'\0'}},
},
{{{'\0'}}},
}
#define BM_VERT
@ BMO_OP_SLOT_ELEMENT_BUF
@ BMO_OPTYPE_FLAG_NOP
void bmo_average_vert_facedata_exec(BMesh *bm, BMOperator *op)

Definition at line 418 of file bmesh_opdefines.c.

◆ bmo_beautify_fill_def

BMOpDefine bmo_beautify_fill_def
static
Initial value:
= {
"beautify_fill",
{"use_restrict_tag", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
#define BM_FACE
static BMO_FlagSet bmo_enum_beautify_fill_method[]
#define BM_EDGE
@ BMO_OP_SLOT_BOOL
@ BMO_OP_SLOT_INT
@ BMO_OP_SLOT_SUBTYPE_INT_ENUM
@ BMO_OPTYPE_FLAG_SELECT_VALIDATE
@ BMO_OPTYPE_FLAG_UNTAN_MULTIRES
@ BMO_OPTYPE_FLAG_NORMALS_CALC
@ BMO_OPTYPE_FLAG_SELECT_FLUSH
void bmo_beautify_fill_exec(BMesh *bm, BMOperator *op)
Definition: bmo_beautify.c:21

Definition at line 1814 of file bmesh_opdefines.c.

◆ bmo_bevel_def

BMOpDefine bmo_bevel_def
static

Definition at line 1756 of file bmesh_opdefines.c.

◆ bmo_bisect_edges_def

BMOpDefine bmo_bisect_edges_def
static
Initial value:
= {
"bisect_edges",
{"cuts", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{"geom_split.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE | BM_FACE}},
{{'\0'}},
},
}
@ BMO_OP_SLOT_MAPPING
@ BMO_OP_SLOT_SUBTYPE_MAP_FLT
void bmo_bisect_edges_exec(BMesh *bm, BMOperator *op)

Definition at line 279 of file bmesh_opdefines.c.

◆ bmo_bisect_plane_def

BMOpDefine bmo_bisect_plane_def
static
Initial value:
= {
"bisect_plane",
{"dist", BMO_OP_SLOT_FLT},
{"plane_co", BMO_OP_SLOT_VEC},
{"plane_no", BMO_OP_SLOT_VEC},
{"use_snap_center", BMO_OP_SLOT_BOOL},
{"clear_outer", BMO_OP_SLOT_BOOL},
{"clear_inner", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"geom_cut.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE}},
{{'\0'}}},
}
@ BMO_OP_SLOT_FLT
@ BMO_OP_SLOT_VEC
void bmo_bisect_plane_exec(BMesh *bm, BMOperator *op)

Definition at line 1314 of file bmesh_opdefines.c.

◆ bmo_bmesh_to_mesh_def

BMOpDefine bmo_bmesh_to_mesh_def
static
Initial value:
= {
"bmesh_to_mesh",
{
{{'\0'}},
},
{{{'\0'}}},
}
@ BMO_OP_SLOT_SUBTYPE_PTR_OBJECT
@ BMO_OP_SLOT_SUBTYPE_PTR_MESH
@ BMO_OP_SLOT_PTR
void bmo_bmesh_to_mesh_exec(BMesh *bm, BMOperator *op)

Definition at line 839 of file bmesh_opdefines.c.

◆ bmo_bridge_loops_def

BMOpDefine bmo_bridge_loops_def
static
Initial value:
= {
"bridge_loops",
{"use_pairs", BMO_OP_SLOT_BOOL},
{"use_cyclic", BMO_OP_SLOT_BOOL},
{"use_merge", BMO_OP_SLOT_BOOL},
{"merge_factor", BMO_OP_SLOT_FLT},
{"twist_offset", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_bridge_loops_exec(BMesh *bm, BMOperator *op)
Definition: bmo_bridge.c:544

Definition at line 570 of file bmesh_opdefines.c.

◆ bmo_collapse_def

BMOpDefine bmo_collapse_def
static
Initial value:
= {
"collapse",
{"uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_collapse_exec(BMesh *bm, BMOperator *op)

Definition at line 379 of file bmesh_opdefines.c.

◆ bmo_collapse_uvs_def

BMOpDefine bmo_collapse_uvs_def
static
Initial value:
= {
"collapse_uvs",
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_collapse_uvs_exec(BMesh *bm, BMOperator *op)

Definition at line 454 of file bmesh_opdefines.c.

◆ bmo_connect_vert_pair_def

BMOpDefine bmo_connect_vert_pair_def
static
Initial value:
= {
"connect_vert_pair",
{"verts_exclude", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{"faces_exclude", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_connect_vert_pair_exec(BMesh *bm, BMOperator *op)

Definition at line 1009 of file bmesh_opdefines.c.

◆ bmo_connect_verts_concave_def

BMOpDefine bmo_connect_verts_concave_def
static
Initial value:
= {
"connect_verts_concave",
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_connect_verts_concave_exec(BMesh *bm, BMOperator *op)

Definition at line 964 of file bmesh_opdefines.c.

◆ bmo_connect_verts_def

BMOpDefine bmo_connect_verts_def
static
Initial value:
= {
"connect_verts",
{"faces_exclude", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{"check_degenerate", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_connect_verts_exec(BMesh *bm, BMOperator *op)
Definition: bmo_connect.c:155

Definition at line 941 of file bmesh_opdefines.c.

◆ bmo_connect_verts_nonplanar_def

BMOpDefine bmo_connect_verts_nonplanar_def
static
Initial value:
= {
"connect_verts_nonplanar",
{{"angle_limit", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_connect_verts_nonplanar_exec(BMesh *bm, BMOperator *op)

Definition at line 986 of file bmesh_opdefines.c.

◆ bmo_contextual_create_def

BMOpDefine bmo_contextual_create_def
static
Initial value:
= {
"contextual_create",
{"mat_nr", BMO_OP_SLOT_INT},
{"use_smooth", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_contextual_create_exec(BMesh *bm, BMOperator *op)
Definition: bmo_create.c:20

Definition at line 546 of file bmesh_opdefines.c.

◆ bmo_create_circle_def

BMOpDefine bmo_create_circle_def
static
Initial value:
= {
"create_circle",
{{"cap_ends", BMO_OP_SLOT_BOOL},
{"cap_tris", BMO_OP_SLOT_BOOL},
{"segments", BMO_OP_SLOT_INT},
{"radius", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
@ BMO_OP_SLOT_MAT
void bmo_create_circle_exec(BMesh *bm, BMOperator *op)

Definition at line 1667 of file bmesh_opdefines.c.

◆ bmo_create_cone_def

BMOpDefine bmo_create_cone_def
static
Initial value:
= {
"create_cone",
{{"cap_ends", BMO_OP_SLOT_BOOL},
{"cap_tris", BMO_OP_SLOT_BOOL},
{"segments", BMO_OP_SLOT_INT},
{"radius1", BMO_OP_SLOT_FLT},
{"radius2", BMO_OP_SLOT_FLT},
{"depth", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_cone_exec(BMesh *bm, BMOperator *op)

Definition at line 1642 of file bmesh_opdefines.c.

◆ bmo_create_cube_def

BMOpDefine bmo_create_cube_def
static
Initial value:
= {
"create_cube",
{{"size", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_cube_exec(BMesh *bm, BMOperator *op)

Definition at line 1692 of file bmesh_opdefines.c.

◆ bmo_create_grid_def

BMOpDefine bmo_create_grid_def
static
Initial value:
= {
"create_grid",
{{"x_segments", BMO_OP_SLOT_INT},
{"y_segments", BMO_OP_SLOT_INT},
{"size", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_grid_exec(BMesh *bm, BMOperator *op)

Definition at line 1550 of file bmesh_opdefines.c.

◆ bmo_create_icosphere_def

BMOpDefine bmo_create_icosphere_def
static
Initial value:
= {
"create_icosphere",
{{"subdivisions", BMO_OP_SLOT_INT},
{"radius", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_icosphere_exec(BMesh *bm, BMOperator *op)

Definition at line 1598 of file bmesh_opdefines.c.

◆ bmo_create_monkey_def

BMOpDefine bmo_create_monkey_def
static
Initial value:
= {
"create_monkey",
{{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_monkey_exec(BMesh *bm, BMOperator *op)

Definition at line 1621 of file bmesh_opdefines.c.

◆ bmo_create_uvsphere_def

BMOpDefine bmo_create_uvsphere_def
static
Initial value:
= {
"create_uvsphere",
{{"u_segments", BMO_OP_SLOT_INT},
{"v_segments", BMO_OP_SLOT_INT},
{"radius", BMO_OP_SLOT_FLT},
{"matrix", BMO_OP_SLOT_MAT},
{"calc_uvs", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_uvsphere_exec(BMesh *bm, BMOperator *op)

Definition at line 1574 of file bmesh_opdefines.c.

◆ bmo_create_vert_def

BMOpDefine bmo_create_vert_def
static
Initial value:
= {
"create_vert",
{{"co", BMO_OP_SLOT_VEC},
{{'\0'}},
},
{{"vert.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_create_vert_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:29

Definition at line 492 of file bmesh_opdefines.c.

◆ bmo_delete_def

BMOpDefine bmo_delete_def
static
Initial value:
= {
"delete",
{{'\0'}},
},
{{{'\0'}}},
}
static BMO_FlagSet bmo_enum_delete_context[]
void bmo_delete_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dupe.c:452

Definition at line 1352 of file bmesh_opdefines.c.

◆ bmo_dissolve_degenerate_def

BMOpDefine bmo_dissolve_degenerate_def
static
Initial value:
= {
"dissolve_degenerate",
{{"dist", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_dissolve_degenerate_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dissolve.c:507

Definition at line 1154 of file bmesh_opdefines.c.

◆ bmo_dissolve_edges_def

BMOpDefine bmo_dissolve_edges_def
static
Initial value:
= {
"dissolve_edges",
{"use_verts", BMO_OP_SLOT_BOOL},
{"use_face_split", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"region.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_dissolve_edges_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dissolve.c:258

Definition at line 1075 of file bmesh_opdefines.c.

◆ bmo_dissolve_faces_def

BMOpDefine bmo_dissolve_faces_def
static
Initial value:
= {
"dissolve_faces",
{"use_verts", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"region.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_dissolve_faces_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dissolve.c:113

Definition at line 1097 of file bmesh_opdefines.c.

◆ bmo_dissolve_limit_def

BMOpDefine bmo_dissolve_limit_def
static
Initial value:
= {
"dissolve_limit",
{{"angle_limit", BMO_OP_SLOT_FLT},
{"use_dissolve_boundaries", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"region.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}}},
}
static BMO_FlagSet bmo_enum_dissolve_limit_flags[]
@ BMO_OP_SLOT_SUBTYPE_INT_FLAG
void bmo_dissolve_limit_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dissolve.c:477

Definition at line 1129 of file bmesh_opdefines.c.

◆ bmo_dissolve_verts_def

BMOpDefine bmo_dissolve_verts_def
static
Initial value:
= {
"dissolve_verts",
{"use_face_split", BMO_OP_SLOT_BOOL},
{"use_boundary_tear", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_dissolve_verts_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dissolve.c:359

Definition at line 1056 of file bmesh_opdefines.c.

◆ bmo_duplicate_def

BMOpDefine bmo_duplicate_def
static
Initial value:
= {
"duplicate",
{"use_select_history", BMO_OP_SLOT_BOOL},
{"use_edge_flip_from_face", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"geom_orig.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE | BM_FACE}},
{"boundary_map.out", BMO_OP_SLOT_MAPPING, {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
{"isovert_map.out", BMO_OP_SLOT_MAPPING, {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
{{'\0'}},
},
}
@ BMO_OP_SLOT_SUBTYPE_PTR_BMESH
@ BMO_OP_SLOT_SUBTYPE_MAP_ELEM
void bmo_duplicate_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dupe.c:327

Definition at line 1372 of file bmesh_opdefines.c.

◆ bmo_edgeloop_fill_def

BMOpDefine bmo_edgeloop_fill_def
static
Initial value:
= {
"edgeloop_fill",
{"mat_nr", BMO_OP_SLOT_INT},
{"use_smooth", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_edgeloop_fill_exec(BMesh *bm, BMOperator *op)

Definition at line 668 of file bmesh_opdefines.c.

◆ bmo_edgenet_fill_def

BMOpDefine bmo_edgenet_fill_def
static
Initial value:
= {
"edgenet_fill",
{"mat_nr", BMO_OP_SLOT_INT},
{"use_smooth", BMO_OP_SLOT_BOOL},
{"sides", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_edgenet_fill_exec(BMesh *bm, BMOperator *op)
Definition: bmo_edgenet.c:24

Definition at line 693 of file bmesh_opdefines.c.

◆ bmo_edgenet_prepare_def

BMOpDefine bmo_edgenet_prepare_def
static
Initial value:
= {
"edgenet_prepare",
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_edgenet_prepare_exec(BMesh *bm, BMOperator *op)
Definition: bmo_edgenet.c:92

Definition at line 722 of file bmesh_opdefines.c.

◆ bmo_enum_axis_neg_xyz_and_xyz

BMO_FlagSet bmo_enum_axis_neg_xyz_and_xyz[]
static
Initial value:
= {
{0, "-X"},
{1, "-Y"},
{2, "-Z"},
{3, "X"},
{4, "Y"},
{5, "Z"},
{0, NULL},
}

Definition at line 91 of file bmesh_opdefines.c.

◆ bmo_enum_axis_xyz

BMO_FlagSet bmo_enum_axis_xyz[]
static
Initial value:
= {
{0, "X"},
{1, "Y"},
{2, "Z"},
{0, NULL},
}

The formatting of these bmesh operators is parsed by 'doc/python_api/rst_from_bmesh_opdefines.py' for use in python docs, so reStructuredText may be used rather than doxygen syntax.

template (py quotes used because nested comments don't work on all C compilers):

""" Region Extend.

paragraph1, Extends on the title above.

Another paragraph.

Another paragraph. """

so the first line is the "title" of the bmop. subsequent line blocks separated by blank lines are paragraphs. individual descriptions of slots are extracted from comments next to them.

eg: {BMO_OP_SLOT_ELEMENT_BUF, "geom.out"}, """ output slot, boundary region """

... or:

""" output slot, boundary region """ {BMO_OP_SLOT_ELEMENT_BUF, "geom.out"},

Both are acceptable. note that '//' comments are ignored.

Definition at line 84 of file bmesh_opdefines.c.

◆ bmo_enum_beautify_fill_method

BMO_FlagSet bmo_enum_beautify_fill_method[]
static
Initial value:
= {
{0, "AREA"},
{1, "ANGLE"},
{0, NULL},
}

Definition at line 1803 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_affect_type

BMO_FlagSet bmo_enum_bevel_affect_type[]
static
Initial value:
= {
{BEVEL_AFFECT_VERTICES, "VERTICES"},
{BEVEL_AFFECT_EDGES, "EDGES"},
{0, NULL},
}
@ BEVEL_AFFECT_VERTICES
@ BEVEL_AFFECT_EDGES

Definition at line 1745 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_face_strength_type

BMO_FlagSet bmo_enum_bevel_face_strength_type[]
static
Initial value:
= {
{0, NULL},
}
@ BEVEL_FACE_STRENGTH_NONE
@ BEVEL_FACE_STRENGTH_AFFECTED
@ BEVEL_FACE_STRENGTH_NEW
@ BEVEL_FACE_STRENGTH_ALL

Definition at line 1724 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_miter_type

BMO_FlagSet bmo_enum_bevel_miter_type[]
static
Initial value:
= {
{BEVEL_MITER_SHARP, "SHARP"},
{BEVEL_MITER_PATCH, "PATCH"},
{BEVEL_MITER_ARC, "ARC"},
{0, NULL},
}
@ BEVEL_MITER_PATCH
@ BEVEL_MITER_SHARP
@ BEVEL_MITER_ARC

Definition at line 1732 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_offset_type

BMO_FlagSet bmo_enum_bevel_offset_type[]
static
Initial value:
= {
{BEVEL_AMT_OFFSET, "OFFSET"},
{BEVEL_AMT_WIDTH, "WIDTH"},
{BEVEL_AMT_DEPTH, "DEPTH"},
{BEVEL_AMT_PERCENT, "PERCENT"},
{BEVEL_AMT_ABSOLUTE, "ABSOLUTE"},
{0, NULL},
}
@ BEVEL_AMT_WIDTH
@ BEVEL_AMT_ABSOLUTE
@ BEVEL_AMT_PERCENT
@ BEVEL_AMT_OFFSET
@ BEVEL_AMT_DEPTH

Definition at line 1709 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_profile_type

BMO_FlagSet bmo_enum_bevel_profile_type[]
static
Initial value:
= {
{BEVEL_PROFILE_SUPERELLIPSE, "SUPERELLIPSE"},
{BEVEL_PROFILE_CUSTOM, "CUSTOM"},
{0, NULL},
}
@ BEVEL_PROFILE_SUPERELLIPSE
@ BEVEL_PROFILE_CUSTOM

Definition at line 1718 of file bmesh_opdefines.c.

◆ bmo_enum_bevel_vmesh_method

BMO_FlagSet bmo_enum_bevel_vmesh_method[]
static
Initial value:
= {
{BEVEL_VMESH_ADJ, "ADJ"},
{BEVEL_VMESH_CUTOFF, "CUTOFF"},
{0, NULL},
}
@ BEVEL_VMESH_ADJ
@ BEVEL_VMESH_CUTOFF

Definition at line 1739 of file bmesh_opdefines.c.

◆ bmo_enum_delete_context

BMO_FlagSet bmo_enum_delete_context[]
static
Initial value:
= {
{DEL_VERTS, "VERTS"},
{DEL_EDGES, "EDGES"},
{DEL_ONLYFACES, "FACES_ONLY"},
{DEL_EDGESFACES, "EDGES_FACES"},
{DEL_FACES, "FACES"},
{DEL_FACES_KEEP_BOUNDARY, "FACES_KEEP_BOUNDARY"},
{DEL_ONLYTAGGED, "TAGGED_ONLY"},
{0, NULL},
}
@ DEL_ONLYTAGGED
@ DEL_FACES_KEEP_BOUNDARY
@ DEL_EDGESFACES
@ DEL_EDGES
@ DEL_FACES
@ DEL_ONLYFACES
@ DEL_VERTS

Definition at line 1336 of file bmesh_opdefines.c.

◆ bmo_enum_dissolve_limit_flags

BMO_FlagSet bmo_enum_dissolve_limit_flags[]
static
Initial value:
= {
{BMO_DELIM_NORMAL, "NORMAL"},
{BMO_DELIM_MATERIAL, "MATERIAL"},
{BMO_DELIM_SEAM, "SEAM"},
{BMO_DELIM_SHARP, "SHARP"},
{BMO_DELIM_UV, "UV"},
{0, NULL},
}
@ BMO_DELIM_NORMAL
@ BMO_DELIM_MATERIAL
@ BMO_DELIM_SEAM
@ BMO_DELIM_SHARP
@ BMO_DELIM_UV

Definition at line 1115 of file bmesh_opdefines.c.

◆ bmo_enum_falloff_type

BMO_FlagSet bmo_enum_falloff_type[]
static
Initial value:
= {
{SUBD_FALLOFF_SMOOTH, "SMOOTH"},
{SUBD_FALLOFF_SPHERE, "SPHERE"},
{SUBD_FALLOFF_ROOT, "ROOT"},
{SUBD_FALLOFF_SHARP, "SHARP"},
{SUBD_FALLOFF_LIN, "LINEAR"},
{SUBD_FALLOFF_INVSQUARE, "INVERSE_SQUARE"},
{0, NULL},
}
@ SUBD_FALLOFF_SHARP
@ SUBD_FALLOFF_SMOOTH
@ SUBD_FALLOFF_INVSQUARE
@ SUBD_FALLOFF_SPHERE
@ SUBD_FALLOFF_LIN
@ SUBD_FALLOFF_ROOT

Definition at line 101 of file bmesh_opdefines.c.

◆ bmo_enum_poke_center_mode

BMO_FlagSet bmo_enum_poke_center_mode[]
static
Initial value:
= {
{BMOP_POKE_MEDIAN_WEIGHTED, "MEAN_WEIGHTED"},
{BMOP_POKE_MEDIAN, "MEAN"},
{BMOP_POKE_BOUNDS, "BOUNDS"},
{0, NULL},
}
@ BMOP_POKE_MEDIAN_WEIGHTED
@ BMOP_POKE_BOUNDS
@ BMOP_POKE_MEDIAN

Definition at line 1984 of file bmesh_opdefines.c.

◆ bmo_enum_subdivide_edgering_interp_mode

BMO_FlagSet bmo_enum_subdivide_edgering_interp_mode[]
static
Initial value:
= {
{SUBD_RING_INTERP_SURF, "SURFACE"},
{0, NULL},
}
@ SUBD_RING_INTERP_SURF
@ SUBD_RING_INTERP_PATH
@ SUBD_RING_INTERP_LINEAR

Definition at line 1277 of file bmesh_opdefines.c.

◆ bmo_enum_subdivide_edges_quad_corner_type

BMO_FlagSet bmo_enum_subdivide_edges_quad_corner_type[]
static
Initial value:
= {
{SUBD_CORNER_STRAIGHT_CUT, "STRAIGHT_CUT"},
{SUBD_CORNER_INNERVERT, "INNER_VERT"},
{SUBD_CORNER_PATH, "PATH"},
{SUBD_CORNER_FAN, "FAN"},
{0, NULL},
}
@ SUBD_CORNER_FAN
@ SUBD_CORNER_STRAIGHT_CUT
@ SUBD_CORNER_PATH
@ SUBD_CORNER_INNERVERT

Definition at line 1229 of file bmesh_opdefines.c.

◆ bmo_enum_triangulate_ngon_method

BMO_FlagSet bmo_enum_triangulate_ngon_method[]
static
Initial value:
= {
{0, NULL},
}
@ MOD_TRIANGULATE_NGON_BEAUTY
@ MOD_TRIANGULATE_NGON_EARCLIP

Definition at line 1179 of file bmesh_opdefines.c.

◆ bmo_enum_triangulate_quad_method

BMO_FlagSet bmo_enum_triangulate_quad_method[]
static
Initial value:
= {
{0, NULL},
}
@ MOD_TRIANGULATE_QUAD_SHORTEDGE
@ MOD_TRIANGULATE_QUAD_FIXED
@ MOD_TRIANGULATE_QUAD_LONGEDGE
@ MOD_TRIANGULATE_QUAD_BEAUTY
@ MOD_TRIANGULATE_QUAD_ALTERNATE

Definition at line 1170 of file bmesh_opdefines.c.

◆ bmo_extrude_discrete_faces_def

BMOpDefine bmo_extrude_discrete_faces_def
static
Initial value:
= {
"extrude_discrete_faces",
{"use_normal_flip", BMO_OP_SLOT_BOOL},
{"use_select_history", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_extrude_discrete_faces_exec(BMesh *bm, BMOperator *op)
Definition: bmo_extrude.c:37

Definition at line 877 of file bmesh_opdefines.c.

◆ bmo_extrude_edge_only_def

BMOpDefine bmo_extrude_edge_only_def
static
Initial value:
= {
"extrude_edge_only",
{"use_normal_flip", BMO_OP_SLOT_BOOL},
{"use_select_history", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_extrude_edge_only_exec(BMesh *bm, BMOperator *op)
Definition: bmo_extrude.c:162

Definition at line 899 of file bmesh_opdefines.c.

◆ bmo_extrude_face_region_def

BMOpDefine bmo_extrude_face_region_def
static
Initial value:
= {
"extrude_face_region",
{"use_keep_orig", BMO_OP_SLOT_BOOL},
{"use_normal_flip", BMO_OP_SLOT_BOOL},
{"use_normal_from_adjacent", BMO_OP_SLOT_BOOL},
{"use_dissolve_ortho_edges", BMO_OP_SLOT_BOOL},
{"use_select_history", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
@ BMO_OP_SLOT_SUBTYPE_MAP_EMPTY
void bmo_extrude_face_region_exec(BMesh *bm, BMOperator *op)
Definition: bmo_extrude.c:311

Definition at line 1033 of file bmesh_opdefines.c.

◆ bmo_extrude_vert_indiv_def

BMOpDefine bmo_extrude_vert_indiv_def
static
Initial value:
= {
"extrude_vert_indiv",
{"use_select_history", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{{'\0'}},
},
}
void bmo_extrude_vert_indiv_exec(BMesh *bm, BMOperator *op)
Definition: bmo_extrude.c:230

Definition at line 920 of file bmesh_opdefines.c.

◆ bmo_face_attribute_fill_def

BMOpDefine bmo_face_attribute_fill_def
static
Initial value:
= {
"face_attribute_fill",
{"use_normals", BMO_OP_SLOT_BOOL},
{"use_data", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces_fail.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_face_attribute_fill_exec(BMesh *bm, BMOperator *op)

Definition at line 646 of file bmesh_opdefines.c.

◆ bmo_find_doubles_def

BMOpDefine bmo_find_doubles_def
static
Initial value:
= {
"find_doubles",
{"keep_verts", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{"dist", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_find_doubles_exec(BMesh *bm, BMOperator *op)

Definition at line 337 of file bmesh_opdefines.c.

◆ bmo_grid_fill_def

BMOpDefine bmo_grid_fill_def
static
Initial value:
= {
"grid_fill",
{"mat_nr", BMO_OP_SLOT_INT},
{"use_smooth", BMO_OP_SLOT_BOOL},
{"use_interp_simple", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_grid_fill_exec(BMesh *bm, BMOperator *op)

Definition at line 597 of file bmesh_opdefines.c.

◆ bmo_holes_fill_def

BMOpDefine bmo_holes_fill_def
static
Initial value:
= {
"holes_fill",
{"sides", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_holes_fill_exec(BMesh *bm, BMOperator *op)

Definition at line 623 of file bmesh_opdefines.c.

◆ bmo_inset_individual_def

BMOpDefine bmo_inset_individual_def
static
Initial value:
= {
"inset_individual",
{"thickness", BMO_OP_SLOT_FLT},
{"depth", BMO_OP_SLOT_FLT},
{"use_even_offset", BMO_OP_SLOT_BOOL},
{"use_interpolate", BMO_OP_SLOT_BOOL},
{"use_relative_offset", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_inset_individual_exec(BMesh *bm, BMOperator *op)
Definition: bmo_inset.c:401

Definition at line 1884 of file bmesh_opdefines.c.

◆ bmo_inset_region_def

BMOpDefine bmo_inset_region_def
static
Initial value:
= {
"inset_region",
{"faces_exclude", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{"use_boundary", BMO_OP_SLOT_BOOL},
{"use_even_offset", BMO_OP_SLOT_BOOL},
{"use_interpolate", BMO_OP_SLOT_BOOL},
{"use_relative_offset", BMO_OP_SLOT_BOOL},
{"use_edge_rail", BMO_OP_SLOT_BOOL},
{"thickness", BMO_OP_SLOT_FLT},
{"depth", BMO_OP_SLOT_FLT},
{"use_outset", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_inset_region_exec(BMesh *bm, BMOperator *op)
Definition: bmo_inset.c:651

Definition at line 1909 of file bmesh_opdefines.c.

◆ bmo_join_triangles_def

BMOpDefine bmo_join_triangles_def
static
Initial value:
= {
"join_triangles",
{"cmp_seam", BMO_OP_SLOT_BOOL},
{"cmp_sharp", BMO_OP_SLOT_BOOL},
{"cmp_uvs", BMO_OP_SLOT_BOOL},
{"cmp_vcols", BMO_OP_SLOT_BOOL},
{"cmp_materials", BMO_OP_SLOT_BOOL},
{"angle_face_threshold", BMO_OP_SLOT_FLT},
{"angle_shape_threshold", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_join_triangles_exec(BMesh *bm, BMOperator *op)

Definition at line 512 of file bmesh_opdefines.c.

◆ bmo_mesh_to_bmesh_def

BMOpDefine bmo_mesh_to_bmesh_def
static
Initial value:
= {
"mesh_to_bmesh",
{
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_mesh_to_bmesh_exec(BMesh *bm, BMOperator *op)

Definition at line 858 of file bmesh_opdefines.c.

◆ bmo_mirror_def

BMOpDefine bmo_mirror_def
static
Initial value:
= {
"mirror",
{"matrix", BMO_OP_SLOT_MAT},
{"merge_dist", BMO_OP_SLOT_FLT},
{"mirror_u", BMO_OP_SLOT_BOOL},
{"mirror_v", BMO_OP_SLOT_BOOL},
{"mirror_udim", BMO_OP_SLOT_BOOL},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
static BMO_FlagSet bmo_enum_axis_xyz[]
void bmo_mirror_exec(BMesh *bm, BMOperator *op)
Definition: bmo_mirror.c:22

Definition at line 305 of file bmesh_opdefines.c.

◆ bmo_object_load_bmesh_def

BMOpDefine bmo_object_load_bmesh_def
static
Initial value:
= {
"object_load_bmesh",
{{'\0'}},
},
{{{'\0'}}},
}
@ BMO_OP_SLOT_SUBTYPE_PTR_SCENE
void bmo_object_load_bmesh_exec(BMesh *bm, BMOperator *op)

Definition at line 821 of file bmesh_opdefines.c.

◆ bmo_offset_edgeloops_def

BMOpDefine bmo_offset_edgeloops_def
static
Initial value:
= {
"offset_edgeloops",
{"use_cap_endpoint", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_offset_edgeloops_exec(BMesh *bm, BMOperator *op)

Definition at line 1938 of file bmesh_opdefines.c.

◆ bmo_opdefines

const BMOpDefine* bmo_opdefines[]

◆ bmo_opdefines_total

const int bmo_opdefines_total = ARRAY_SIZE(bmo_opdefines)

Definition at line 2172 of file bmesh_opdefines.c.

Referenced by BMO_opcode_from_opname().

◆ bmo_planar_faces_def

BMOpDefine bmo_planar_faces_def
static
Initial value:
= {
"planar_faces",
{"iterations", BMO_OP_SLOT_INT},
{"factor", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_planar_faces_exec(BMesh *bm, BMOperator *op)

Definition at line 185 of file bmesh_opdefines.c.

◆ bmo_pointmerge_def

BMOpDefine bmo_pointmerge_def
static
Initial value:
= {
"pointmerge",
{"merge_co", BMO_OP_SLOT_VEC},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_pointmerge_exec(BMesh *bm, BMOperator *op)

Definition at line 434 of file bmesh_opdefines.c.

◆ bmo_pointmerge_facedata_def

BMOpDefine bmo_pointmerge_facedata_def
static
Initial value:
= {
"pointmerge_facedata",
{{'\0'}},
},
{{{'\0'}}},
}
@ BMO_OP_SLOT_SUBTYPE_ELEM_IS_SINGLE
void bmo_pointmerge_facedata_exec(BMesh *bm, BMOperator *op)

Definition at line 399 of file bmesh_opdefines.c.

◆ bmo_poke_def

BMOpDefine bmo_poke_def
static
Initial value:
= {
"poke",
{"offset", BMO_OP_SLOT_FLT},
{"use_relative_offset", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"verts.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}},
{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
static BMO_FlagSet bmo_enum_poke_center_mode[]
void bmo_poke_exec(BMesh *bm, BMOperator *op)
Definition: bmo_poke.c:28

Definition at line 1996 of file bmesh_opdefines.c.

◆ bmo_recalc_face_normals_def

BMOpDefine bmo_recalc_face_normals_def
static
Initial value:
= {
"recalc_face_normals",
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_recalc_face_normals_exec(BMesh *bm, BMOperator *op)
Definition: bmo_normals.c:254

Definition at line 168 of file bmesh_opdefines.c.

◆ bmo_region_extend_def

BMOpDefine bmo_region_extend_def
static
Initial value:
= {
"region_extend",
{"use_contract", BMO_OP_SLOT_BOOL},
{"use_faces", BMO_OP_SLOT_BOOL},
{"use_face_step", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_region_extend_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:362

Definition at line 212 of file bmesh_opdefines.c.

◆ bmo_remove_doubles_def

BMOpDefine bmo_remove_doubles_def
static
Initial value:
= {
"remove_doubles",
{"dist", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_remove_doubles_exec(BMesh *bm, BMOperator *op)

Definition at line 359 of file bmesh_opdefines.c.

◆ bmo_reverse_colors_def

BMOpDefine bmo_reverse_colors_def
static
Initial value:
= {
"reverse_colors",
{"color_index", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_reverse_colors_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:688

Definition at line 1509 of file bmesh_opdefines.c.

◆ bmo_reverse_faces_def

BMOpDefine bmo_reverse_faces_def
static
Initial value:
= {
"reverse_faces",
{"flip_multires", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_reverse_faces_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:135

Definition at line 260 of file bmesh_opdefines.c.

◆ bmo_reverse_uvs_def

BMOpDefine bmo_reverse_uvs_def
static
Initial value:
= {
"reverse_uvs",
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_reverse_uvs_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:544

Definition at line 1475 of file bmesh_opdefines.c.

◆ bmo_rotate_colors_def

BMOpDefine bmo_rotate_colors_def
static
Initial value:
= {
"rotate_colors",
{"use_ccw", BMO_OP_SLOT_BOOL},
{"color_index", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_rotate_colors_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:584

Definition at line 1491 of file bmesh_opdefines.c.

◆ bmo_rotate_def

BMOpDefine bmo_rotate_def
static
Initial value:
= {
"rotate",
{{"cent", BMO_OP_SLOT_VEC},
{"matrix", BMO_OP_SLOT_MAT},
{"space", BMO_OP_SLOT_MAT},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_rotate_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:114

Definition at line 741 of file bmesh_opdefines.c.

◆ bmo_rotate_edges_def

BMOpDefine bmo_rotate_edges_def
static
Initial value:
= {
"rotate_edges",
{"use_ccw", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_rotate_edges_exec(BMesh *bm, BMOperator *op)

Definition at line 236 of file bmesh_opdefines.c.

◆ bmo_rotate_uvs_def

BMOpDefine bmo_rotate_uvs_def
static
Initial value:
= {
"rotate_uvs",
{"use_ccw", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_rotate_uvs_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:458

Definition at line 1458 of file bmesh_opdefines.c.

◆ bmo_scale_def

BMOpDefine bmo_scale_def
static
Initial value:
= {
"scale",
{{"vec", BMO_OP_SLOT_VEC},
{"space", BMO_OP_SLOT_MAT},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_scale_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:91

Definition at line 780 of file bmesh_opdefines.c.

◆ bmo_smooth_laplacian_vert_def

BMOpDefine bmo_smooth_laplacian_vert_def
static
Initial value:
= {
"smooth_laplacian_vert",
{"lambda_factor", BMO_OP_SLOT_FLT},
{"lambda_border", BMO_OP_SLOT_FLT},
{"use_x", BMO_OP_SLOT_BOOL},
{"use_y", BMO_OP_SLOT_BOOL},
{"use_z", BMO_OP_SLOT_BOOL},
{"preserve_volume", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_smooth_laplacian_vert_exec(BMesh *bm, BMOperator *op)

Definition at line 146 of file bmesh_opdefines.c.

◆ bmo_smooth_vert_def

BMOpDefine bmo_smooth_vert_def
static
Initial value:
= {
"smooth_vert",
{"factor", BMO_OP_SLOT_FLT},
{"mirror_clip_x", BMO_OP_SLOT_BOOL},
{"mirror_clip_y", BMO_OP_SLOT_BOOL},
{"mirror_clip_z", BMO_OP_SLOT_BOOL},
{"clip_dist", BMO_OP_SLOT_FLT},
{"use_axis_x", BMO_OP_SLOT_BOOL},
{"use_axis_y", BMO_OP_SLOT_BOOL},
{"use_axis_z", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_smooth_vert_exec(BMesh *bm, BMOperator *op)

Definition at line 121 of file bmesh_opdefines.c.

◆ bmo_solidify_def

BMOpDefine bmo_solidify_def
static
Initial value:
= {
"solidify",
{"thickness", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_solidify_face_region_exec(BMesh *bm, BMOperator *op)
Definition: bmo_extrude.c:825

Definition at line 1863 of file bmesh_opdefines.c.

◆ bmo_spin_def

BMOpDefine bmo_spin_def
static
Initial value:
= {
"spin",
{"cent", BMO_OP_SLOT_VEC},
{"axis", BMO_OP_SLOT_VEC},
{"dvec", BMO_OP_SLOT_VEC},
{"angle", BMO_OP_SLOT_FLT},
{"space", BMO_OP_SLOT_MAT},
{"steps", BMO_OP_SLOT_INT},
{"use_merge", BMO_OP_SLOT_BOOL},
{"use_normal_flip", BMO_OP_SLOT_BOOL},
{"use_duplicate", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"geom_last.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT | BM_EDGE | BM_FACE}},
{{'\0'}},
},
}
void bmo_spin_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dupe.c:472

Definition at line 1429 of file bmesh_opdefines.c.

◆ bmo_split_def

BMOpDefine bmo_split_def
static
Initial value:
= {
"split",
{"use_only_faces", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{"boundary_map.out", BMO_OP_SLOT_MAPPING, {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
{"isovert_map.out", BMO_OP_SLOT_MAPPING, {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
{{'\0'}},
},
}
void bmo_split_exec(BMesh *bm, BMOperator *op)
Definition: bmo_dupe.c:390

Definition at line 1404 of file bmesh_opdefines.c.

◆ bmo_split_edges_def

BMOpDefine bmo_split_edges_def
static
Initial value:
= {
"split_edges",
{"use_verts", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{{'\0'}},
},
}
void bmo_split_edges_exec(BMesh *bm, BMOperator *op)

Definition at line 1526 of file bmesh_opdefines.c.

◆ bmo_subdivide_edgering_def

BMOpDefine bmo_subdivide_edgering_def
static
Initial value:
= {
"subdivide_edgering",
{"smooth", BMO_OP_SLOT_FLT},
{"cuts", BMO_OP_SLOT_INT},
{"profile_shape_factor", BMO_OP_SLOT_FLT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}}},
}
static BMO_FlagSet bmo_enum_falloff_type[]
static BMO_FlagSet bmo_enum_subdivide_edgering_interp_mode[]
void bmo_subdivide_edgering_exec(BMesh *bm, BMOperator *op)

Definition at line 1289 of file bmesh_opdefines.c.

◆ bmo_subdivide_edges_def

BMOpDefine bmo_subdivide_edges_def
static

Definition at line 1243 of file bmesh_opdefines.c.

◆ bmo_symmetrize_def

BMOpDefine bmo_symmetrize_def
static
Initial value:
= {
"symmetrize",
{"dist", BMO_OP_SLOT_FLT},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{'\0'}},
},
}
static BMO_FlagSet bmo_enum_axis_neg_xyz_and_xyz[]
void bmo_symmetrize_exec(BMesh *bm, BMOperator *op)

Definition at line 2063 of file bmesh_opdefines.c.

◆ bmo_transform_def

BMOpDefine bmo_transform_def
static
Initial value:
= {
"transform",
{{"matrix", BMO_OP_SLOT_MAT},
{"space", BMO_OP_SLOT_MAT},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_transform_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:39

Definition at line 801 of file bmesh_opdefines.c.

◆ bmo_translate_def

BMOpDefine bmo_translate_def
static
Initial value:
= {
"translate",
{{"vec", BMO_OP_SLOT_VEC},
{"space", BMO_OP_SLOT_MAT},
{"use_shapekey", BMO_OP_SLOT_BOOL},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_translate_exec(BMesh *bm, BMOperator *op)
Definition: bmo_utils.c:70

Definition at line 761 of file bmesh_opdefines.c.

◆ bmo_triangle_fill_def

BMOpDefine bmo_triangle_fill_def
static
Initial value:
= {
"triangle_fill",
{{"use_beauty", BMO_OP_SLOT_BOOL},
{"use_dissolve", BMO_OP_SLOT_BOOL},
{"normal", BMO_OP_SLOT_VEC},
{{'\0'}},
},
{{'\0'}},
},
}
void bmo_triangle_fill_exec(BMesh *bm, BMOperator *op)

Definition at line 1839 of file bmesh_opdefines.c.

◆ bmo_triangulate_def

BMOpDefine bmo_triangulate_def
static
Initial value:
= {
"triangulate",
{{'\0'}},
},
{{"edges.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{"face_map_double.out", BMO_OP_SLOT_MAPPING, {(int)BMO_OP_SLOT_SUBTYPE_MAP_ELEM}},
{{'\0'}},
},
}
static BMO_FlagSet bmo_enum_triangulate_quad_method[]
static BMO_FlagSet bmo_enum_triangulate_ngon_method[]
void bmo_triangulate_exec(BMesh *bm, BMOperator *op)

Definition at line 1188 of file bmesh_opdefines.c.

◆ bmo_unsubdivide_def

BMOpDefine bmo_unsubdivide_def
static
Initial value:
= {
"unsubdivide",
{"iterations", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_unsubdivide_exec(BMesh *bm, BMOperator *op)

Definition at line 1214 of file bmesh_opdefines.c.

◆ bmo_weld_verts_def

BMOpDefine bmo_weld_verts_def
static
Initial value:
= {
"weld_verts",
{{'\0'}},
},
{{{'\0'}}},
}
void bmo_weld_verts_exec(BMesh *bm, BMOperator *op)

Definition at line 472 of file bmesh_opdefines.c.

◆ bmo_wireframe_def

BMOpDefine bmo_wireframe_def
static
Initial value:
= {
"wireframe",
{"thickness", BMO_OP_SLOT_FLT},
{"offset", BMO_OP_SLOT_FLT},
{"use_replace", BMO_OP_SLOT_BOOL},
{"use_boundary", BMO_OP_SLOT_BOOL},
{"use_even_offset", BMO_OP_SLOT_BOOL},
{"use_crease", BMO_OP_SLOT_BOOL},
{"crease_weight", BMO_OP_SLOT_FLT},
{"use_relative_offset", BMO_OP_SLOT_BOOL},
{"material_offset", BMO_OP_SLOT_INT},
{{'\0'}},
},
{{"faces.out", BMO_OP_SLOT_ELEMENT_BUF, {BM_FACE}},
{{'\0'}},
},
}
void bmo_wireframe_exec(BMesh *bm, BMOperator *op)
Definition: bmo_wireframe.c:20

Definition at line 1959 of file bmesh_opdefines.c.