VolMeshArtist

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

Bases: GHArtist, VolMeshArtist

Artist for drawing volmesh data structures.

Parameters
  • volmesh (VolMesh) – A COMPAS volmesh.

  • **kwargs (dict, optional) – Additional keyword arguments. See GHArtist and VolMeshArtist for more info.

Methods

clear_celllabels

GH Artists are state-less.

clear_cells

GH Artists are state-less.

clear_edgelabels

GH Artists are state-less.

clear_edges

GH Artists are state-less.

clear_facelabels

GH Artists are state-less.

clear_faces

GH Artists are state-less.

clear_vertexlabels

GH Artists are state-less.

clear_vertices

GH Artists are state-less.

draw

Draw a selection of cells.

draw_cells

Draw a selection of cells.

draw_edges

Draw a selection of edges.

draw_faces

Draw a selection of faces.

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

Clear all objects from the view.

draw_collection

Drawing method for drawing an entire collection of objects.

redraw

Redraw the view.

register

Register an artist type to a data type.