Grasshopper

algorithmic modeling for Rhino

So, I've built a grid and selected a specific point that I want to move in the Z axis.

I also want to affect a number of points (contained within the circle) around this point based on their proximity to the original point.

The problem I'm having is that when I dispatch these points into separate lists (for the eventual movement) they lose their original index numbers.

Does anyone know how I can dispatch these points into separate lists and keep their original index numbers?

Matt.

Views: 1707

Attachments:

Replies to This Discussion

Not had a chance to look at the files but seems you may want to try using the Sift Pattern Component instead of dispach , this will spit the list into to but will leave nulls where the data that in the other list was. to remove the nulls and put the list together again use the Combine component.

 

Another options is to look at using the list index component, can't totally explain how this works as sometimes it does and other times not depending on what components  i have passed the data though.

 

And finally you other option and possible the simplest is to create a series of number to the same lenght as you list of points and dispatch these in the same way as you have currently done.

Nice one,

The sift pattern one sorted it, bit of list management after that but it got me where I needed to be.

Cheers.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service