MeshArtist.draw
- MeshArtist.draw(vertices: Optional[List[int]] = None, edges: Optional[List[Tuple[int, int]]] = None, faces: Optional[List[int]] = None, vertexcolor: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None, edgecolor: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None, facecolor: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None) None [source]
Draw the mesh using the chosen visualization settings.
- Parameters
vertices (list) – A list of vertex keys identifying which vertices to draw. Default is
None
, in which case all vertices are drawn.edges (list) – 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) – 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 of rgb-tuple) – The color specification for the vertices.
edgecolor (rgb-tuple or dict of rgb-tuple) – The color specification for the edges.
facecolor (rgb-tuple or dict of rgb-tuple) – The color specification for the faces.