VolMeshArtist
- class compas_rhino.artists.VolMeshArtist(*args, **kwargs)[source]
Bases:
compas_rhino.artists.artist.RhinoArtist,compas.artists.volmeshartist.VolMeshArtistArtist for drawing volmesh data structures.
- Parameters
volmesh (
compas.datastructures.VolMesh) – A COMPAS volmesh.layer (str, optional) – The name of the layer that will contain the volmesh.
Methods
build(item, **kwargs)Build an artist corresponding to the item type.
build_as(item, artist_type, **kwargs)clear()draw([vertices, edges, faces, cells, ...])Draw the network using the chosen visualisation settings.
draw_celllabels([text, color])Draw labels for cells.
draw_cells([cells, color])Draw a selection of cells.
draw_collection(collection)draw_edgelabels([text, color])Draw labels for a selection of edges.
draw_edges([edges, color])Draw a selection of edges.
draw_facelabels([text, color])Draw labels for a selection of faces.
draw_faces([faces, color])Draw a selection of faces.
draw_vertexlabels([text, color])Draw labels for a selection vertices.
draw_vertices([vertices, color])Draw a selection of vertices.
get_artist_cls(data, **kwargs)redraw()register(item_type, artist_type)