Equalize the summation of a group of angles to be equal to 360 with kangaroo

Hi @ThomasE and @riccardo.foschi2

Sorry I didn’t come back to this sooner. When I posted my last reply I really thought I’d already written something for this, but I could only find something I’d started but not finished.

Anyway, I wrote a new goal now - as input it takes a target angle sum (doesn’t have to be 2pi) a strength, and a list of 3n points. Each consecutive set of 3 points defines an angle, and it tries to make to total of all these angles equal to the target value.
I realise most of the time this is likely to be applied to angles around a mesh vertex, where many of these points will be coincident, but I wanted to make it as general as possible.
angleSum_goal.gh (15.7 KB)

I’ve only tested on very simple cases so far. It might need some adjustment after seeing how you want to use it.