MeshArtist.draw

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

Draw the mesh using the chosen visualization settings.

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

  • edges (list[tuple[int, int]]) – 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]) – A list of face keys identifying which faces to draw. The default is None, in which case all faces are drawn.

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

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

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

Returns

None