Mesh.CreateFromClosedPolyline bug

Mesh.CreateFromClosedPolyline bug.gh (3.3 KB)

Using Version 6 SR31
(6.31.20315.17001, 11/10/2020)

This seems to be working fine, in case someone is facing the same problem.

Mesh.CreateFromClosedPolyline bug.gh
(13.3 KB)


Hi @Dani_Abalde,

I’m not surprised Mesh.CreateFromClosedPolyline failed on your non-planar curves. I’ve logged the issue, but I wouldn’t expect this to be fixed anytime soon.

https://mcneel.myjetbrains.com/youtrack/issue/RH-61804

– Dale

1 Like

Hi @Dani_Abalde,

See if the attached does what you want.

TriangulateClosedPolyline.gh (6.0 KB)

– Dale

Yes, it’s good to discover that other method, although if the quality of the mesh matters more than the performance then I prefer my proposal that I uploaded in the file above because it maximizes the regularity of the triangles. Thanks! :beers: