VolMeshArtist
- class compas_ghpython.artists.VolMeshArtist(volmesh)[source]
Bases:
compas_ghpython.artists._artist.BaseArtist
A volmesh artist defines functionality for visualising COMPAS volmeshes in GhPython.
- Parameters
volmesh (
compas.datastructures.VolMesh
) – A COMPAS volmesh.- Attributes
volmesh (
compas.datastructures.VolMesh
) – The COMPAS volmesh associated with the artist.color_vertices (3-tuple) – Default color of the vertices.
color_edges (3-tuple) – Default color of the edges.
color_faces (3-tuple) – Default color of the faces.
Methods
draw
()draw_edges
([edges, color])Draw a selection of edges.
draw_faces
([faces, color, join_faces])Draw a selection of faces.
draw_vertices
([vertices, color])Draw a selection of vertices.