Reuleaux polygon using parametric formulas issue

I’m having trouble implementing Reuleaux polygon using parametric formulas in GH.

Could anyone please point out what I’m doing wrong?

Thanks in advance.

Reuleaux polygons_v1.gh (16.3 KB)

source of the equations:

If you do A/B*C is the same as A*C/B
A/(B*C) is another thing.

Replace every /2*n with /(2*n)
and every /2*π with /(2*π)

2 Likes