VolMeshArtist.draw
- VolMeshArtist.draw(vertices=None, edges=None, faces=None, cells=None, vertexcolor=None, edgecolor=None, facecolor=None, cellcolor=None)[source]
Draw the network using the chosen visualisation settings.
- Parameters
vertices (list[int], optional) – A list of vertices to draw. Default is None, in which case all vertices are drawn.
edges (list[tuple[int, int]], optional) – A list of edges to draw. The default is None, in which case all edges are drawn.
faces (list[int], optional) – A selection of faces to draw. The default is None, in which case all faces are drawn.
cells (list[int], optional) – A selection of cells to draw. The default is None, in which case all cells are drawn.
vertexcolor (tuple[int, int, int] or dict[int, tuple[int, int, int]], optional) – The color of the vertices. The default color is the value of
VolMeshArtist.default_vertexcolor
.edgecolor (tuple[int, int, int] or dict[tuple[int, int], tuple[int, int, int]], optional) – The color of the edges. The default color is the value of
VolMeshArtist.default_edgecolor
.facecolor (tuple[int, int, int] or dict[int, tuple[int, int, int]], optional) – The color of the faces. The default color is the value of
VolMeshArtist.default_facecolor
.cellcolor (tuple[int, int, int] or dict[int, tuple[int, int, int]], optional) – The color of the cells. The default color is the value of
VolMeshArtist.default_cellcolor
.
- Returns
list[System.Guid] – The GUIDs of the created Rhino objects.