MeshArtist.draw

MeshArtist.draw(vertices=None, edges=None, faces=None, vertexcolor=None, edgecolor=None, facecolor=None)[source]

Draw the mesh.

Parameters
  • vertices (list[int], optional) – A list of vertex identifiers. Default is None, in which case all vertices are drawn.

  • edges (list[tuple[int, int]], optional) – A list of edge keys (as uv pairs) identifying which edges to draw. The default is None, in which case all edges are drawn.

  • faces (list[int], optional) – A list of face identifiers. The default is None, in which case all faces are drawn.

  • vertexcolor (rgb-tuple | dict[int, rgb-tuple], optional) – The color specification for the vertices.

  • edgecolor (rgb-tuple | dict[tuple[int, int], rgb-tuple], optional) – The color specification for the edges.

  • facecolor (rgb-tuple | dict[int, rgb-tuple], optional) – The color specification for the faces.

Returns

None