MeshArtist
- class compas_ghpython.artists.MeshArtist(*args, **kwargs)[source]
Bases:
GHArtist
,MeshArtist
Artist for drawing mesh data structures.
- Parameters
mesh (
compas.datastructures.Mesh
) – A COMPAS mesh.show_vertices (bool, optional) – If True, draw the vertices of the mesh.
show_edges (bool, optional) – If True, draw the edges of the mesh.
show_faces (bool, optional) – If True, draw the faces of the mesh.
**kwargs (dict, optional) – Additional keyword arguments. See
compas_ghpython.artists.GHArtist
andcompas.artists.MeshArtist
for more info.
Methods
GH Artists are state-less.
GH Artists are state-less.
GH Artists are state-less.
Draw the mesh using the chosen visualization settings.
Draw a selection of edges.
Draw a selection of faces.
Draw the mesh as a RhinoMesh.
Draw a selection of vertices.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all components of the mesh.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.