Finding the maximum distance in opposite sides of a polyline

Brute force :exclamation: :wink: Though it quickly gets very slow as the div points go up. WARNING!


max distance_2024_Jul22a.gh (18.3 KB)

300 points is more accurate:


Easy enough to add all the perimeter discontinuity points to the div points… :thinking:

HEY :bangbang: In this case, if you replace divide curve with discontinuity points, the code is fast and more accurate!

max distance_2024_Jul22b.gh (18.4 KB)

3 Likes