VolMeshArtist

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

Bases: RhinoArtist, VolMeshArtist

Artist for drawing volmesh data structures.

Parameters
  • volmesh (VolMesh) – A COMPAS volmesh.

  • layer (str, optional) – The name of the layer that will contain the volmesh.

  • **kwargs (dict, optional) – Additional keyword arguments. For more info, see RhinoArtist and VolMeshArtist.

Methods

clear

Delete all objects drawn by this artist.

clear_cells

Delete all cells drawn by this artist.

clear_edgelabels

Delete all edge labels drawn by this artist.

clear_edges

Delete all edges drawn by this artist.

clear_facelabels

Delete all face labels drawn by this artist.

clear_faces

Delete all faces drawn by this artist.

clear_vertexlabels

Delete all vertex labels drawn by this artist.

clear_vertices

Delete all vertices drawn by this artist.

draw

Draw a selection of cells.

draw_celllabels

Draw labels for cells.

draw_cells

Draw a selection of cells.

draw_edgelabels

Draw labels for a selection of edges.

draw_edges

Draw a selection of edges.

draw_facelabels

Draw labels for a selection of faces.

draw_faces

Draw a selection of faces.

draw_vertexlabels

Draw labels for a selection vertices.

draw_vertices

Draw a selection of vertices.

Inherited Methods

build

Build an artist corresponding to the item type.

build_as

Build an artist with the given type.

clear_layer

Clear the layer of the artist.

draw_collection

Drawing method for drawing an entire collection of objects.

redraw

Redraw the view.

register

Register an artist type to a data type.