MeshArtist
- class compas_ghpython.artists.MeshArtist(*args, **kwargs)[source]
Bases:
compas_ghpython.artists.artist.GHArtist,compas.artists.meshartist.MeshArtistArtist for drawing mesh data structures.
- Parameters
mesh (
compas.datastructures.Mesh) – A COMPAS mesh.
Attributes
default_colordefault_edgecolordefault_facecolordefault_vertexcolorInherited Attributes
AVAILABLE_CONTEXTSCONTEXTITEM_ARTISTcolordefault_edgewidthdefault_vertexsizeedge_coloredge_textedge_widthedgesface_colorface_textfacesmeshvertex_colorvertex_sizevertex_textvertex_xyzverticesMethods
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.