Grasshopper

algorithmic modeling for Rhino

Cull edge points of a grid of varying dimensions

I have created a grid of points and I would like to cull the edge points of the grid automatically when I increase/decrease the 'x,y' dimensions of the grid. How can I do this?  

Views: 1767

Replies to This Discussion

it's sort of a weird method but it works for orthogonal grids. if that's what you want.

 

Attachments:

Here's my take on it.

 

Chris

Attachments:

Chris,

 

Thanks a lot for the help this is most useful. How would I go about selecting the points that have not been culled (all the points other than the edge points)?

 

Michael

 

Try this for the center.

 

Chris

I have plus and minus components in series which you can see in the image at the top.  I eliminated the plus component in the actual def and adjusted the subtrahend in the minus component.

Chris

Attachments:

Hi Micheal

 

I See You have allready had a few replies but I use Pt grids quite a bit so thought I would see how simple I could make culling all the edge points.


Hope this Helps

Matt

 

 

Attachments:

Matt-

Great to see a simpler solution.  I knew something would be possible using the Path mapper component but I don't quite get how to work with that yet.  In experimenting with your definition I'm wondering if you could explain what the graft option does within the item component.

Thanks.

Chris

Hi Chris

 

The reason for the graft is so that each Path(Branch) collects all Indexes in the list from the lower series before moving onto the next branch to do them same.

 

Otherwise the first Path(Branch) picks the first index in the list and the second path the second index and so on.... Thus a diagonal set of points that may straighten along the top if the paths finsh before the indexes finshes.

 

Matt


RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service