MeshObject.draw_edgelabels

MeshObject.draw_edgelabels(text, color=None, group=None, fontheight=10, fontface='Arial Regular')[source]

Draw labels for a selection of edges.

Parameters:
textdict[tuple[int, int], str]

A dictionary of edge labels as edge-text pairs.

colorcompas.colors.Color | dict[tuple[int, int], compas.colors.Color], optional

The color of the edge labels.

groupstr, optional

The name of a group to join the created Rhino objects in.

fontheightint, optional

Font height of the edge labels.

fontfacestr, optional

Font face of the edge labels.

Returns:
list[System.Guid]

The GUIDs of the created Rhino point objects.