MeshArtist
- class compas_rhino.artists.MeshArtist(*args, **kwargs)[source]
Bases:
compas_rhino.artists.artist.RhinoArtist
,compas.artists.meshartist.MeshArtist
Artists for drawing mesh data structures.
- Parameters
mesh (
compas.datastructures.Mesh
) – A COMPAS mesh.layer (str, optional) – The name of the layer that will contain the mesh.
Attributes
default_color
default_edgecolor
default_facecolor
default_vertexcolor
Inherited Attributes
AVAILABLE_CONTEXTS
CONTEXT
ITEM_ARTIST
color
default_edgewidth
default_vertexsize
edge_color
edge_text
edge_width
edges
face_color
face_text
faces
mesh
vertex_color
vertex_size
vertex_text
vertex_xyz
vertices
Methods
Draw the mesh using the chosen visualization settings.
Draw labels for a selection of edges.
Draw a selection of edges.
Draw labels for a selection of faces.
Draw the normals of the faces.
Draw a selection of faces.
Draw the mesh as a consolidated RhinoMesh.
Draw labels for a selection vertices.
Draw the normals at the vertices of the mesh.
Draw a selection of vertices.
Inherited Methods
Build an artist corresponding to the item type.