VolMeshObject.draw_faces

VolMeshObject.draw_faces(faces=None, color=None, collection=None, show_wire=True)[source]

Draw a selection of faces.

Parameters:
faceslist[int], optional

A list of face keys identifying which faces to draw. The default is None, in which case all faces are drawn.

colorcompas.colors.Color | dict[int, compas.colors.Color], optional

The color specification for the faces.

collectionstr, optional

The name of the Blender scene collection containing the created object(s).

show_wirebool, optional

Display the wireframe of the faces.

Returns:
list[bpy.types.Object]