From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

BMesh

BMesh is the new mesh editing API, used for efficient manipulation of mesh data.

Each entity in a mesh has an associated persistent bitfield that stores flags.

Entities

Faces

Faces link to a loop in the loop cycle, the circular linked list of loops defining the boundary of the face.

Edges

Edges represent a connection between two vertices, but also store a link to a loop in the radial cycle of the edge.

Vertices

Vertices store a coordinate and link to an edge in the disk cycle of the vertex.

Loops

They define the boundary loop of a face. Each loop corresponds to an edge. pic1 pic2

Cycles

Loops store the pointers:

  • v - pointer to the first vertex
  • e - pointer to the loop's edge
  • f - pointer to the face associated with this loop

Home:

[0] http://wiki.blender.org/index.php/User:Ansimionescu

Reference:

[1] BMesh doc: http://wiki.blender.org/index.php/Dev:2.6/Source/Modeling/BMesh/Design

[2]