draw_mesh

compas_rhino.utilities.draw_mesh(vertices, faces, name=None, color=None, disjoint=False, **kwargs)[source]

Draw a mesh and optionally set individual name, color, and layer properties.

Parameters
  • vertices (list of point) – A list of point locations.

  • faces (list of list of int) – A list of faces as lists of indices into vertices.

  • name (str, optional)

  • color (RGB tuple, optional)

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

Returns

str or GUID