Moving one object along two paths with two connection points

Hi All,
I want to move the screen that will be attached to two tracks(curves) and have the rotation of the screen be connected to the position of the points on the curves. I have tried to do this many ways but am completely stumped. Any


rack animation_2 001.3dm (952.2 KB)
Move_Along_A_Path_5.gh (41.7 KB)
Move_Along_A_Path_Tries.gh (78.1 KB)

Hi Christopher.
Welcome to this forum!

Interesting challenge.

Is the panel expected to make a “flip” for each round on the rail?
(otherwise the movement is really ugly…)

If so, actually create the real full path!
Remove the shared segment on both curves, make them have the same direction and use grasshopper to “concatenate” forming a closed loop with overlapping pieces.
Here shown with disaligned curves, the result is a single closed curve!

Then, travel your curve evaluating the length parameter, extract a portion of the curve which is roughly “half round” out of phase, make a circle intersection and pick the more suitable point:


Move_Along_A_Path.gh (75.1 KB)

ezgif-27aa94814d9dd4

1 Like

Riccardo!
Yes, the panel is supposed to flip each round on the rail. The single closed curve is perfect, as that will be the design for the actual track. I would not have figured this out!
Thank you so much, I have been trying for the last few days to figure this out.

1 Like