algorithmic modeling for Rhino
Hi!
I'm trying to find 8 neighbors point for every point in a ordered grid.
(every combo of "-1","0","+1" in {x}(x) drawing a line to {0}(0) ...)
But the Relative Item component break the original tree structure!
I would expect that if I set false to wrapping "Wp" and "Wi" the output could still keep the original tree structure, but giving "nulls" or similar when the offset go out of existence.
How to "fix" this?
There are other ways to actually find neighbors in trees in grasshopper?
Tags:
Hi Riccardo, if you hook up the A output of the RelItem component to the A input of the Line component (instead of the original points) you'll get your expected result.
Thanks for the tip, that's useful.
I just never watched "A" output lol...
But still i need "B" with the same structure as "P".
I'll try to reconstruct the paths in some way like P:X=A:B or so...
Thanks again.
How? The number of items are different...
Very nice Riccardo, cudos for a succesful use of the ItemIndex component:) That's a tough one...
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
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by