MeshObject.draw_edges

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

Draw a selection of edges.

Parameters:
edgeslist[tuple[int, int]], optional

A selection of edges to draw. The default is None, in which case all edges are drawn.

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

The color of the edges.

textdict[tuple[int, int], str], optional

A dictionary of edge labels as edge-text pairs.

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 line objects.