algorithmic modeling for Rhino
Hi there !
line 1 lenght : [x]
line 2&2bis lenght : [y]
I have a small problem here. I'd like [y] to modify in fonction [x]. Exemple : When the [x] is betwin 0 and 3 the lenght of [y] doesn't change
If [x] reach 4 then [y] start growing to 1 then 2 when [x] reach 7 etc...
Overall i'd like to put it in a single slider like :
1 --> x=1 y=0
2 --> x=2 y=0
3 --> x=3 y=0
4 --> x=4 y=1
5 --> x=5 y=2
6 --> x=6 y=3
7 --> x=7 y=4
8 --> x=7 y=5
9 --> x=7 y=6
10 --> x=7 y=7
Any ideas ? Pyhton script maybe ?
Thanks
Tags:
Yes ! It's exactly what I meant to do. I did not know that it was possible to add "If" in the expression tool. That make the solution easy and neat.
Thanks a lot for your time and your crystal-clear anwser :)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by