Mesh to NGon


Is there any .NET example how this Rhino Button is made? I suppose it is all c++?
It takes into account angle between meshes and has a smart way to group mesh faces into series of ngon groups.

Hi @Petras1,

The AddNgonsToMesh command is written in C++. However, the underlying C++ method, ON_Mesh::AddPlanarNgons is exposed in RhinoCommon as Mesh.AddPlanarNgons.

– Dale

1 Like