algorithmic modeling for Rhino
Hallo GH Forum,
I have a problem and i hope one can help me.
I have a list of Points (x values) and want to create the y- value for each, depending on the previous x.
for example, as shown in the image, it should work like that:
- start with first Rectangle (R1) and set y value to 0.
- next Rectangle (R2) check if P2start (x value) is bigger than P1end.
- if yes, set y to 0.
- ( if not, set y + 1)
- As seen on R4: P4start is smaller than P3end, so y = 0+1
- and on R5: P5start is smaller than P4end, so y=1+1
- P6start ist not smaller than P5end, so set y to 0 again
and so on..
Thanks in advance
Tags:
sorry for latze response, had to get may pasta aswell...
i will check it out, perhaps it is doing its job fine but i am not...
seems to do its job quite fine, thanks a lot...
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by