artists
Artists for visualising (painting) COMPAS objects in Rhino. Artists convert COMPAS objects to Rhino geometry and data.
import compas
from compas.datastructures import Mesh
from compas_rhino.artists import MeshArtist
mesh = Mesh.from_off(compas.get('tubemesh.off'))
artist = MeshArtist(mesh, layer='COMPAS::tubemesh.off')
artist.clear_layer()
artist.draw()
Primitive Artists
Artist for drawing circles. |
|
Artist for drawing frames. |
|
Artist for drawing lines. |
|
Artist for drawing planes. |
|
Artist for drawing points. |
|
Artist for drawing polygons. |
|
Artist for drawing polylines. |
|
Artist for drawing vectors. |
Shape Artists
Artist for drawing box shapes. |
|
Artist for drawing capsule shapes. |
|
Artist for drawing cone shapes. |
|
Artist for drawing cylinder shapes. |
|
Artist for drawing polyhedron shapes. |
|
Artist for drawing sphere shapes. |
|
Artist for drawing torus shapes. |
Datastructure Artists
Artists for drawing mesh data structures. |
|
Artist for drawing network data structures. |
|
Artist for drawing volmesh data structures. |
Robot Artist
Visualizer for robots inside a Rhino environment. |
Base Classes
Base class for all Rhino artists. |
|
Base class for artists for geometry primitives. |
|
Base class for artists for geometric shapes. |