MeshArtist.draw_facelabels

MeshArtist.draw_facelabels(text: Optional[Dict[int, str]] = None, color: Optional[Union[str, Tuple[int, int, int], Tuple[float, float, float], List[Union[Tuple[int, int, int], Tuple[float, float, float]]], Dict[int, Union[Tuple[int, int, int], Tuple[float, float, float]]]]] = None) List[bpy.types.Object][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 labeled with its key.

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

Returns

list of bpy.types.Object