vertices_and_faces_to_blender_mesh

compas_blender.conversions.vertices_and_faces_to_blender_mesh(vertices, faces, name=None)[source]

Convert a list of vertices and faces to a Blender mesh.

Parameters:
verticeslist

A list of vertex coordinates.

faceslist

A list of faces, defined as lists of indices into the list of vertices.

namestr, optional

The name of the mesh.

Returns:
bpy.types.Mesh

A Blender mesh.