MeshObject.draw_faces

MeshObject.draw_faces(faces=None, color=None, group=None)[source]

Draw a selection of faces.

Parameters:
faceslist[int], optional

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

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

The color of the faces.

textdict[int, str], optional

A dictionary of face labels as face-text pairs.

fontheightint, optional

Font height of the face labels.

fontfacestr, optional

Font face of the face labels.

Returns:
list[System.Guid]

The GUIDs of the created Rhino mesh objects.