Grasshopper

algorithmic modeling for Rhino

Hi there, 

I'm having to tile the 15th pentagonal grid in rectangles. I need some of the nodes in the grid to share an Index once they are tessellated, but i also want the indexing overall to read with some order from left to right, and from bottom to top in each column. How might i go about arraying the tiles so that the nodes Id's are shared for some?

Views: 652

Attachments:

Replies to This Discussion

Here is a way to sort, I used Set and I transform double to int to suppress precision problem. 

So first I take lower Y value of lines, then put them in sets, and for each set sort in X. 

The file

Generally a node is a point, and what you want is numbering the edges. 

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service