Equalize polyline lenghts kangaroo?

Hi everyone,
I’m trying to equalize the length of an entire polyline to the length of a reference polyline on Kangaroo, but I’m not sure if it’s possible. I only know the goal node “lenght(line)” which does it only for one segment.

I set up an example below:
How to make “polyline A total length” = “polyline B total length”, so that 5 and 6 can slide along C and 1 and 4 are anchor points?

Thanks in advance

equaloize poliline length.3dm (33.1 KB)

lengthsum.gh (14.2 KB)

This is for if you want to make the total length of one polyline a given sum.
It’s not clear to me from the description if this is what you are after or you want both polylines to be able to change while each keeping the same total length.

That is perfect thanks Daniel!
Sorry for the delay I totally missed your answer!

1 Like