MeshArtist.draw_mesh

MeshArtist.draw_mesh(color=None, disjoint=False)[source]

Draw the mesh as a consolidated RhinoMesh.

Parameters
  • color (tuple, optional) – The color of the mesh. Default is the value of ~MeshArtist.default_color.

  • disjoint (bool, optional) – Draw the faces of the mesh with disjoint vertices. Default is False.

Returns

list – The GUIDs of the created Rhino objects.

Notes

The mesh should be a valid Rhino Mesh object, which means it should have only triangular or quadrilateral faces. Faces with more than 4 vertices will be triangulated on-the-fly.