Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "BLI_math.h"
#include "BKE_context.h"
#include "BKE_editmesh.h"
#include "BKE_layer.h"
#include "BKE_report.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_types.h"
#include "ED_mesh.h"
#include "ED_screen.h"
#include "ED_view3d.h"
#include "mesh_intern.h"
Go to the source code of this file.
Functions | |
Screw Operator | |
static int | edbm_screw_exec (bContext *C, wmOperator *op) |
static int | edbm_screw_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
void | MESH_OT_screw (wmOperatorType *ot) |
|
static |
Definition at line 34 of file editmesh_extrude_screw.c.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data, BMEditMesh::bm, bm, BM_ALL_NOLOOP, BM_EDGES_OF_VERT, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_ELEM, BM_ITER_MESH, BM_VERTS_OF_MESH, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), C, BMVert::co, copy_v3_v3(), CTX_data_view_layer(), CTX_wm_view3d(), Object::data, DEG2RADF, dot_v3v3(), EDBM_flag_disable_all(), EDBM_op_finish(), EDBM_op_init(), EDBM_update(), is_zero_v3(), MEM_freeN, mul_v3_fl(), mul_v3_m4v3(), negate_v3(), nor, NULL, Object::obmat, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_float_get_array(), RNA_int_get(), RPT_ERROR, BMOperator::slots_out, steps, sub_v3_v3v3(), BMesh::totvertsel, v1, and v2.
Referenced by edbm_screw_invoke(), and MESH_OT_screw().
|
static |
Definition at line 162 of file editmesh_extrude_screw.c.
References C, CTX_data_scene(), Scene::cursor, ED_view3d_context_rv3d(), edbm_screw_exec(), View3DCursor::location, wmOperator::ptr, RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), scene, and RegionView3D::viewinv.
Referenced by MESH_OT_screw().
void MESH_OT_screw | ( | wmOperatorType * | ot | ) |
Definition at line 182 of file editmesh_extrude_screw.c.
References wmOperatorType::description, ED_operator_editmesh(), edbm_screw_exec(), edbm_screw_invoke(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_vector(), RNA_def_float_vector_xyz(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().