VolMeshArtist
- class compas_ghpython.artists.VolMeshArtist(*args, **kwargs)[source]
Bases:
compas_ghpython.artists.artist.GHArtist
,compas.artists.volmeshartist.VolMeshArtist
Artist for drawing volmesh data structures.
- Parameters
volmesh (
compas.datastructures.VolMesh
) – A COMPAS volmesh.
Attributes
default_cellcolor
default_color
default_edgecolor
default_facecolor
default_vertexcolor
Inherited Attributes
AVAILABLE_CONTEXTS
CONTEXT
ITEM_ARTIST
cell_color
cell_text
cells
edge_color
edge_text
edges
face_color
face_text
faces
vertex_color
vertex_text
vertex_xyz
vertices
volmesh
Methods
Draw a selection of edges.
Draw a selection of faces.
Draw a selection of vertices.
Inherited Methods
Build an artist corresponding to the item type.
Draw the cells of the mesh.