Blender V4.3
editmesh_add.cc File Reference
#include "BLI_math_matrix.h"
#include "BLI_sys_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_editmesh.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "mesh_intern.hh"

Go to the source code of this file.

Classes

struct  MakePrimitiveData
 

Macros

#define MESH_ADD_VERTS_MAXI   10000000
 

Functions

static Objectmake_prim_init (bContext *C, const char *idname, const float loc[3], const float rot[3], const float scale[3], ushort local_view_bits, MakePrimitiveData *r_creation_data)
 
static void make_prim_finish (bContext *C, Object *obedit, const MakePrimitiveData *creation_data, int enter_editmode)
 
static int add_primitive_plane_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_plane_add (wmOperatorType *ot)
 
static int add_primitive_cube_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_cube_add (wmOperatorType *ot)
 
static int add_primitive_circle_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_circle_add (wmOperatorType *ot)
 
static int add_primitive_cylinder_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_cylinder_add (wmOperatorType *ot)
 
static int add_primitive_cone_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_cone_add (wmOperatorType *ot)
 
static int add_primitive_grid_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_grid_add (wmOperatorType *ot)
 
static int add_primitive_monkey_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_monkey_add (wmOperatorType *ot)
 
static int add_primitive_uvsphere_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_uv_sphere_add (wmOperatorType *ot)
 
static int add_primitive_icosphere_exec (bContext *C, wmOperator *op)
 
void MESH_OT_primitive_ico_sphere_add (wmOperatorType *ot)
 

Variables

static const EnumPropertyItem fill_type_items []
 

Macro Definition Documentation

◆ MESH_ADD_VERTS_MAXI

Function Documentation

◆ add_primitive_circle_exec()

◆ add_primitive_cone_exec()

◆ add_primitive_cube_exec()

◆ add_primitive_cylinder_exec()

◆ add_primitive_grid_exec()

◆ add_primitive_icosphere_exec()

◆ add_primitive_monkey_exec()

◆ add_primitive_plane_exec()

◆ add_primitive_uvsphere_exec()

◆ make_prim_finish()

◆ make_prim_init()

◆ MESH_OT_primitive_circle_add()

◆ MESH_OT_primitive_cone_add()

◆ MESH_OT_primitive_cube_add()

◆ MESH_OT_primitive_cylinder_add()

◆ MESH_OT_primitive_grid_add()

◆ MESH_OT_primitive_ico_sphere_add()

◆ MESH_OT_primitive_monkey_add()

◆ MESH_OT_primitive_plane_add()

◆ MESH_OT_primitive_uv_sphere_add()

Variable Documentation

◆ fill_type_items

const EnumPropertyItem fill_type_items[]
static
Initial value:
= {
{0, "NOTHING", 0, "Nothing", "Don't fill at all"},
{1, "NGON", 0, "N-Gon", "Use n-gons"},
{2, "TRIFAN", 0, "Triangle Fan", "Use triangle fans"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 223 of file editmesh_add.cc.

Referenced by MESH_OT_primitive_circle_add(), MESH_OT_primitive_cone_add(), and MESH_OT_primitive_cylinder_add().