VolMeshArtist.draw_faces

abstract VolMeshArtist.draw_faces(faces=None, color=None, text=None)[source]

Draw the faces of the mesh.

Parameters
  • faces (list[int], optional) – The faces to include in the drawing. Default is all faces.

  • color (tuple[float, float, float] or dict[int, tuple[float, float, float]], optional) – The color of the faces, as either a single color to be applied to all faces, or a color dict, mapping specific faces to specific colors.

  • text (dict[int, str], optional) – The text labels for the faces as a text dict, mapping specific faces to specific text labels.

Returns

list – The identifiers of the objects representing the faces in the visualization context.