BlenderMesh.from_bmesh

classmethod BlenderMesh.from_bmesh(bm, name=None, free=True)

Construct a Blender mesh wrappper from a BMesh.

Parameters
  • bm (bpy.types.BMesh) – The Blender mesh data structure.

  • name (str, optional) – The name of the data block.

  • free (bool, optional) – Free the data structure once the data block is created.

Returns

compas_blender.conversions.BlenderMesh