VolMeshArtist

class compas_rhino.artists.VolMeshArtist(*args, **kwargs)[source]

Bases: compas_rhino.artists.artist.RhinoArtist, compas.artists.volmeshartist.VolMeshArtist

Artist for drawing volmesh data structures.

Parameters

Methods

build(item, **kwargs)

Build an artist corresponding to the item type.

build_as(item, artist_type, **kwargs)

clear()

clear_by_name()

Clear all objects in the "namespace" of the associated volmesh.

clear_cells()

clear_edges()

clear_faces()

clear_layer()

clear_vertices()

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.

redraw()

register(item_type, artist_type)