Blender V5.3
bmesh_py_api.cc File Reference
#include <Python.h>
#include "bmesh.hh"
#include "bmesh_py_types.hh"
#include "bmesh_py_types_customdata.hh"
#include "bmesh_py_types_meshdata.hh"
#include "bmesh_py_types_select.hh"
#include "bmesh_py_geometry.hh"
#include "bmesh_py_ops.hh"
#include "bmesh_py_utils.hh"
#include "BKE_editmesh.hh"
#include "BKE_mesh_types.hh"
#include "DNA_mesh_types.h"
#include "DNA_scene_types.h"
#include "../generic/py_capi_utils.hh"
#include "bmesh_py_api.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

 blender::PyDoc_STRVAR (bpy_bm_new_doc, ".. function:: new(*, use_operators=True)\n" "\n" " :param use_operators: Support calling operators in :mod:`bmesh.ops` (uses some " "extra memory per vert/edge/face).\n" " :type use_operators: bool\n" " :return: Return a new, empty BMesh.\n" " :rtype: :class:`bmesh.types.BMesh`\n")
static PyObject * blender::bpy_bm_new (PyObject *, PyObject *args, PyObject *kw)
 blender::PyDoc_STRVAR (bpy_bm_from_edit_mesh_doc, ".. function:: from_edit_mesh(mesh)\n" "\n" " Return a BMesh from this mesh, currently the mesh must already be in editmode.\n" "\n" " :param mesh: The editmode mesh.\n" " :type mesh: :class:`bpy.types.Mesh`\n" " :return: the BMesh associated with this mesh.\n" " :rtype: :class:`bmesh.types.BMesh`\n")
static PyObject * blender::bpy_bm_from_edit_mesh (PyObject *, PyObject *value)
 blender::PyDoc_STRVAR (bpy_bm_update_edit_mesh_doc, ".. function:: update_edit_mesh(mesh, *, loop_triangles=True, destructive=True)\n" "\n" " Update the mesh after changes to the BMesh in editmode,\n" " optionally recalculating n-gon tessellation.\n" "\n" " :param mesh: The editmode mesh.\n" " :type mesh: :class:`bpy.types.Mesh`\n" " :param loop_triangles: Option to recalculate n-gon tessellation.\n" " :type loop_triangles: bool\n" " :param destructive: Use when geometry has been added or removed.\n" " :type destructive: bool\n")
static PyObject * blender::bpy_bm_update_edit_mesh (PyObject *, PyObject *args, PyObject *kw)
 blender::PyDoc_STRVAR (BPy_BM_doc, "This module provides access to Blender's bmesh data structures.\n" "\n" ".. include:: include__bmesh.rst\n")
PyObject * blender::BPyInit_bmesh ()
Update API
void blender::EDBM_update_extern (Mesh *mesh, bool do_tessellation, bool is_destructive)

Variables

static PyMethodDef blender::BPy_BM_methods []
static PyModuleDef blender::BPy_BM_module_def

Detailed Description

This file defines the 'bmesh' module.

Definition in file bmesh_py_api.cc.