DrawMeshShaded() small wish

Hi @dale,

would it be possible to make the DrawMeshShaded method accept an enumerable of faceIndices too ? Atm it only works with Array[int] but i’d like to pass enumerables like HashSet[int], python set or list without converting.

thanks,
c.

Hi @clement,

The documentation looks incorrect. Here is the declaration:

public void DrawMeshShaded(Mesh mesh, DisplayMaterial material, int[] faceIndices)

The array of ints is somewhat clunky.

– Dale

2 Likes

Hi @dale, yes i noticed that too in the docs. Thank you for adding the YT item.

_
c.

RH-87384 is fixed in Rhino 8 Service Release 20 Release Candidate