Interpolate Curve with Specific Angle Range

I need to set specific angles allowed between the segments of curve that are created through interpolated points - the angles between any two adjacent curve segments MUST be complimentary angles between 30°-150°

Please help!

Thank you
Interpolated Curve_V1.gh (22.9 KB)

Hello
I dont really understand.
Complemetary angles has a meaning
https://www.mathsisfun.com/geometry/complementary-angles.html

Do you mean
Angle(i) + angle (i+1)= x and x is between [30; 150]

Do you have negative angle or just positive one

do you have an idea of the algorithms to solve your problem ?

You could use Kangaroo in the end…


Interpolated Curve_V1_re.gh (29.0 KB)

2 Likes

I should not have said “complimentary” - yes the sum of the angles must be between 30 and 150°

Is there a way to do this with the Zombie solver? I am not very well versed in Kangaroo and unfortunately need to use the Zombie solver in the end to avoid recursive functions when i upload to Shape Diver…

Why don’t you just replace the normal solver with Zombie solver?


Interpolated Curve_V1_Zombie_re.gh (28.8 KB)

1 Like

Thats perfect!! Thanks!

Like I said not great with Kangaroo so did not know the difference, but I need to upload this definition to shape diver and was told by their team that I cannot use the regular solver… only Zombie Solver because it does not do recursive functions only a final output…