VolMeshArtist

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

Bases: compas_ghpython.artists.artist.GHArtist, compas.artists.volmeshartist.VolMeshArtist

Artist for drawing volmesh data structures.

Parameters

volmesh (compas.datastructures.VolMesh) – A COMPAS volmesh.

Attributes

default_cellcolor

default_color

default_edgecolor

default_facecolor

default_vertexcolor

Inherited Attributes

AVAILABLE_CONTEXTS

CONTEXT

ITEM_ARTIST

cell_color

cell_text

cells

edge_color

edge_text

edges

face_color

face_text

faces

vertex_color

vertex_text

vertex_xyz

vertices

volmesh

Methods

draw

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

clear

clear_cells

clear_edges

clear_faces

clear_vertices

draw_cells

Draw the cells of the mesh.

draw_collection

redraw

register