MeshArtist.draw_facelabels

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

Draw labels for a selection of faces.

Parameters
  • text (dict[int, str], optional) – A dictionary of face labels as face-text pairs. The default value is None, in which case every face will be labeled with its identifier.

  • color (rgb-tuple or dict[int, rgb-tuple], optional) – The color specification of the labels. The default color is the same as the default face color: default_facecolor.

Returns

list[bpy.types.Object]