draw_mesh

compas_ghpython.utilities.draw_mesh(vertices, faces, color=None, vertex_normals=None, texture_coordinates=None)[source]

Draw mesh in Grasshopper.

Parameters
  • vertices (list of point) – List of vertex locations.

  • faces (list of list of int) – List of faces defined as lists of indices into the list of vertices.

Other Parameters
  • color (tuple, list | System.Drawing.Color, optional)

  • vertex_normals (bool, optional)

  • texture_coordinates

Returns

list[Rhino.Geometry.Mesh]