Move according to an equation


(Imen Soussi) #1

Hi everybody,
I want to do a geometry translation according to a equation :y=0.13*x+10.67
x is the geometry longest segment ( I picked up already like in the file below).

translation.gh (7.3 KB)
translation.3dm (25.6 KB)


(Reo) #2

Like this??

translation_v2.gh (9.6 KB)


(Imen Soussi) #3

I just try it and it works.
I changed x=4 by “len” in the longest segment function
Thank you