Triangulate a mesh via RhinoCommon


(Willem Derks) #1

Hi,

I’m not seeing a means to triangulate a mesh via RhinoCommon.
Am I missing something or should I stick with scripting the _TriangulateMesh command ?

I found the answer:
http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Collections_MeshFaceList_ConvertQuadsToTriangles.htm

Thanks
-Willem


(Luis Fraguada) #2

Not sure if it is the same code, but a MeshFaceList has the ConvertQuadsToTriangles method.


(Willem Derks) #3

Hi Luis,

Yes, I just found the answer myself and edited the question. Thanks


(Luis Fraguada) #4

oops, too fast for me!