MeshArtist.draw_edgelabels

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

Draw labels for a selection of edges.

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

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

Returns

list[bpy.types.Object]