Hi every one,

I have a goal object to equalise spherical polygons’ area . Since The area of each spherical n-gon is:

An = [(q1+q2+…+qn)–(n-2)pi]x R^2 in which qi angles are the angles measured at the vertices along the surface of the sphere, so equalising the summation of the angles means equal spherical area.

I have written a C# code to achieve the goal. Although the code doesn’t show any error but when I run it using Kangaroo solver, I receive this error:

“1. Solution exception: One or more errors occurred.”

I would much appreciate any idea why this is happening and how to solve it.

I have attached my file.

EqualSphArea.gh (18.1 KB)

Thanks

Anooshe