|
| | blender::PyDoc_STRVAR (bpy_bm_utils_vert_collapse_edge_doc, ".. function:: vert_collapse_edge(vert, edge)\n" "\n" " Collapse a vertex into an edge.\n" "\n" " :param vert: The vert that will be collapsed.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :param edge: The edge to collapse into.\n" " :type edge: :class:`bmesh.types.BMEdge`\n" " :return: The resulting edge from the collapse operation.\n" " :rtype: :class:`bmesh.types.BMEdge`\n") |
| static PyObject * | blender::bpy_bm_utils_vert_collapse_edge (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_vert_collapse_faces_doc, ".. function:: vert_collapse_faces(vert, edge, fac, join_faces)\n" "\n" " Collapses a vertex that has only two manifold edges onto a vertex it shares an " "edge with.\n" "\n" " :param vert: The vert that will be collapsed.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :param edge: The edge to collapse into.\n" " :type edge: :class:`bmesh.types.BMEdge`\n" " :param fac: The factor to use when merging customdata [0 - 1].\n" " :type fac: float\n" " :param join_faces: When true the faces around the vertex will be joined otherwise " "collapse the vertex by merging the 2 edges this vertex connects to into one.\n" " :type join_faces: bool\n" " :return: The resulting edge from the collapse operation.\n" " :rtype: :class:`bmesh.types.BMEdge`\n") |
| static PyObject * | blender::bpy_bm_utils_vert_collapse_faces (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_vert_dissolve_doc, ".. function:: vert_dissolve(vert)\n" "\n" " Dissolve this vertex (will be removed).\n" "\n" " :param vert: The vert to be dissolved.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :return: True when the vertex dissolve is successful.\n" " :rtype: bool\n") |
| static PyObject * | blender::bpy_bm_utils_vert_dissolve (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_vert_splice_doc, ".. function:: vert_splice(vert, vert_target)\n" "\n" " Splice vert into vert_target, merging them.\n" "\n" " :param vert: The vertex to be removed.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :param vert_target: The vertex to merge into.\n" " :type vert_target: :class:`bmesh.types.BMVert`\n" "\n" " .. note:: The verts mustn't share an edge or face.\n") |
| static PyObject * | blender::bpy_bm_utils_vert_splice (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_vert_separate_doc, ".. function:: vert_separate(vert, edges)\n" "\n" " Separate this vertex at every edge.\n" "\n" " :param vert: The vert to be separated.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :param edges: The edges to separate.\n" " :type edges: Sequence[:class:`bmesh.types.BMEdge`]\n" " :return: The newly separated verts (including the vertex passed).\n" " :rtype: tuple[:class:`bmesh.types.BMVert`, ...]\n") |
| static PyObject * | blender::bpy_bm_utils_vert_separate (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_edge_split_doc, ".. function:: edge_split(edge, vert, fac)\n" "\n" " Split an edge, return the newly created data.\n" "\n" " :param edge: The edge to split.\n" " :type edge: :class:`bmesh.types.BMEdge`\n" " :param vert: One of the verts on the edge, defines the split direction.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :param fac: The point on the edge where the new vert will be created [0 - 1].\n" " :type fac: float\n" " :return: The newly created (edge, vert) pair.\n" " :rtype: tuple[:class:`bmesh.types.BMEdge`, :class:`bmesh.types.BMVert`]\n") |
| static PyObject * | blender::bpy_bm_utils_edge_split (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_edge_rotate_doc, ".. function:: edge_rotate(edge, ccw=False)\n" "\n" " Rotate the edge and return the newly created edge.\n" " If rotating the edge fails, None will be returned.\n" "\n" " :param edge: The edge to rotate.\n" " :type edge: :class:`bmesh.types.BMEdge`\n" " :param ccw: When True the edge will be rotated counter clockwise.\n" " :type ccw: bool\n" " :return: The newly rotated edge.\n" " :rtype: :class:`bmesh.types.BMEdge` | None\n") |
| static PyObject * | blender::bpy_bm_utils_edge_rotate (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_face_split_doc, ".. function:: face_split(face, vert_a, vert_b, *, coords=(), use_exist=True, source=None)\n" "\n" " Face split with optional intermediate points.\n" "\n" " :param face: The face to cut.\n" " :type face: :class:`bmesh.types.BMFace`\n" " :param vert_a: First vertex to cut in the face (face must contain the vert).\n" " :type vert_a: :class:`bmesh.types.BMVert`\n" " :param vert_b: Second vertex to cut in the face (face must contain the vert).\n" " :type vert_b: :class:`bmesh.types.BMVert`\n" " :param coords: Optional sequence of 3D points in between *vert_a* and *vert_b*.\n" " :type coords: Sequence[Sequence[float]]\n" " :param use_exist: Use an existing edge if it exists (only used when *coords* argument is " "empty or omitted)\n" " :type use_exist: bool\n" " :param source: Newly created edge will copy settings from this one.\n" " :type source: :class:`bmesh.types.BMEdge` | None\n" " :return: The newly created face and loop.\n" " :rtype: tuple[:class:`bmesh.types.BMFace`, :class:`bmesh.types.BMLoop`]\n") |
| static PyObject * | blender::bpy_bm_utils_face_split (PyObject *, PyObject *args, PyObject *kw) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_face_split_edgenet_doc, ".. function:: face_split_edgenet(face, edgenet)\n" "\n" " Splits a face into any number of regions defined by an edgenet.\n" "\n" " :param face: The face to split.\n" " :type face: :class:`bmesh.types.BMFace`\n" " :param edgenet: Sequence of edges.\n" " :type edgenet: Sequence[:class:`bmesh.types.BMEdge`]\n" " :return: The newly created faces.\n" " :rtype: tuple[:class:`bmesh.types.BMFace`, ...]\n" "\n" " .. note::\n" "\n" " Regions defined by edges need to connect to the face, otherwise they're " "ignored as loose edges.\n") |
| static PyObject * | blender::bpy_bm_utils_face_split_edgenet (PyObject *, PyObject *args, PyObject *kw) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_face_join_doc, ".. function:: face_join(faces, remove=True)\n" "\n" " Joins a sequence of faces.\n" "\n" " :param faces: Sequence of faces.\n" " :type faces: Sequence[:class:`bmesh.types.BMFace`]\n" " :param remove: Remove the edges and vertices between the faces.\n" " :type remove: bool\n" " :return: The newly created face or None on failure.\n" " :rtype: :class:`bmesh.types.BMFace` | None\n") |
| static PyObject * | blender::bpy_bm_utils_face_join (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_face_vert_separate_doc, ".. function:: face_vert_separate(face, vert)\n" "\n" " Rip a vertex in a face away and add a new vertex.\n" "\n" " :param face: The face to separate.\n" " :type face: :class:`bmesh.types.BMFace`\n" " :param vert: A vertex in the face to separate.\n" " :type vert: :class:`bmesh.types.BMVert`\n" " :return: The newly created vertex or None on failure.\n" " :rtype: :class:`bmesh.types.BMVert` | None\n" "\n" " .. note::\n" "\n" " This is the same as loop_separate, and has only been added for convenience.\n") |
| static PyObject * | blender::bpy_bm_utils_face_vert_separate (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_face_flip_doc, ".. function:: face_flip(face)\n" "\n" " Flip the face's direction.\n" "\n" " :param face: Face to flip.\n" " :type face: :class:`bmesh.types.BMFace`\n") |
| static PyObject * | blender::bpy_bm_utils_face_flip (PyObject *, BPy_BMFace *value) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_loop_separate_doc, ".. function:: loop_separate(loop)\n" "\n" " Rip a vertex in a face away and add a new vertex.\n" "\n" " :param loop: The loop to separate.\n" " :type loop: :class:`bmesh.types.BMLoop`\n" " :return: The newly created vertex or None on failure.\n" " :rtype: :class:`bmesh.types.BMVert` | None\n") |
| static PyObject * | blender::bpy_bm_utils_loop_separate (PyObject *, BPy_BMLoop *value) |
| | blender::PyDoc_STRVAR (bpy_bm_utils_uv_select_check_doc, ".. function:: uv_select_check(bm, /, *, sync=True, flush=False, contiguous=False)\n" "\n" " Check UV selection state for consistency issues.\n" "\n" " :param bm: The BMesh to check.\n" " :type bm: :class:`bmesh.types.BMesh`\n" " :param sync: Check the data is properly synchronized " "between UV's and the underlying mesh. " "Failure to synchronize with the mesh selection " "may cause tools not to behave properly.\n" " :type sync: bool\n" " :param flush: Check the selection has been properly flushed between elements " "(based on the current :attr:`bmesh.types.BMesh.select_mode`).\n" " :type flush: bool\n" " :param contiguous: Check connected UV's and edges have a matching selection state.\n" " :type contiguous: bool\n" " :return: An error dictionary or None when there are no errors found.\n" " :rtype: dict[str, int] | None\n") |
| static PyObject * | blender::bpy_bm_utils_uv_select_check (PyObject *, PyObject *args, PyObject *kwds) |
| | blender::PyDoc_STRVAR (BPy_BM_utils_doc, "This module provides bmesh utility functions for splitting, joining, " "and modifying mesh elements.") |
| PyObject * | blender::BPyInit_bmesh_utils () |
This file defines the 'bmesh.utils' module. Utility functions for operating on 'bmesh.types'
Definition in file bmesh_py_utils.cc.