MeshArtist.draw

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

Draw the mesh as a consolidated RhinoMesh.

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

  • disjoint (bool, optional) – If True, draw the faces of the mesh with disjoint vertices.

Returns

list[System.Guid] – 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.