MeshArtist.draw_facelabels

MeshArtist.draw_facelabels(text=None, color=None)[source]

Draw labels for a selection of faces.

Parameters
  • text (dict, optional) – A dictionary of face labels as face-text pairs. The default value is None, in which case every face will be labelled with its key.

  • color (tuple or dict of tuple, optional) – The color specification of the labels. The default color is the same as the default face color.

Returns

list – The GUIDs of the created Rhino objects.