MeshObject

class compas_ghpython.scene.MeshObject[source]

Bases: GHSceneObject, MeshObject

Scene object for drawing mesh data structures.

Parameters:
meshcompas.datastructures.Mesh

A COMPAS mesh.

**kwargsdict, optional

Additional keyword arguments.

Methods

draw

Draw the mesh.

draw_edges

Draw a selection of edges.

draw_faces

Draw a selection of faces.

draw_vertices

Draw a selection of vertices.

Inherited Methods

add

Add a child item to the scene object.

clear

Clear all components of the mesh.

clear_edges

Clear the edges of the mesh.

clear_faces

Clear the faces of the mesh.

clear_vertices

Clear the vertices of the mesh.

draw_mesh

Draw the mesh of the mesh.