Hello everyone,

Basically what I want to make is a triangle mesh with fixed length, for example 48, 51, 54, 57 and 60 (or another set of length). This triangle mesh has to be fitted on any random given surface as close as possible. What I use now is LengthSnap (thanks to Daniel Piker). This snaps every triangle edge to the closest of these lengths. For example 49,3 snaps to 48. I started with a simple double curved surface. In the GH-file you can see the deviation in every meshpoint in relation to the surface. The highest deviation is 11.33, pretty high. So i was wondering if it is possible to minimize these deviations, maybe by using galapagos?

Thanks

(every edge length has a specific color)

Attachement:

Discrete_triangle_mesh_deviation.gh (29.9 KB)