Mesh.CreateFromClosedPolyline Normals Direction/Inconsistency

Hi McNeel,

I tried replacing an old function (that implement TriangulateClosedPolyline) for meshing a closed polyline with Mesh.CreateFromClosedPolyline, but the normals direction of the resulting meshes appear to be inconsistent/hard to predict. In this case, the polylines are all counter clockwise. As you can see, my old function (above) outputs meshes that all face up, while some of the meshes made with Mesh.CreateFromClosedPolyline point down. Any insights as to why that might be? (11.4 KB)



Hi @AndersDeleuran,

I’ve logged an issue a a developer can look into this.


– Dale

1 Like