Rotating Point System for Line Connected to Moving Curve

Hi I’m trying to make a system on grasshopper where when a point on a circle rotates (with slider) it moves a line connected to a curve whose point also moves so it doesn’t change the length of the line, can anyone help me with this?

Here’s one way.

rotating_points.gh (7.2 KB)

image

Here’s a kangaroo solution. I’m a beginner with kangaroo but this seems to work (same result as above).

rotating_points_kangaroo.gh (12.0 KB)

-Kevin

3 Likes

Thank you very much!

Hi Kevin, sorry to bother you again, I got another problem on the script, I’m trying to have the point on the circle rotates 360 degree which different from the one I got from you, do you know how to solve this thank youuu

image

Minor changes to both files previously uploaded.

rotating_points_02.gh (6.2 KB)

rotating_points_kangaroo_02.gh (12.0 KB)

-Kevin

Thats really great! is it possible to keep the outer curve though (the one you had before so it rotates 180 degree, but the inner circle rotates 360 degree? thankyou so muchhhh