VolMeshArtist
- class compas_ghpython.artists.VolMeshArtist(*args, **kwargs)[source]
Bases:
compas_ghpython.artists.artist.GHArtist,compas.artists.volmeshartist.VolMeshArtistArtist for drawing volmesh data structures.
- Parameters
volmesh (
compas.datastructures.VolMesh) – A COMPAS volmesh.
Methods
build(item, **kwargs)Build an artist corresponding to the item type.
build_as(item, artist_type, **kwargs)clear()draw()draw_cells([cells, color, text])Draw the cells of the mesh.
draw_collection(collection)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.
get_artist_cls(data, **kwargs)redraw()register(item_type, artist_type)