Grasshopper

algorithmic modeling for Rhino

Is it possible to flatten a 2D pattern so that the order of the points are in this order?

SEE PIC. New%20Order.jpg

This is the default.

SEE PIC. PointOrder.PNG

So I would like 6 beside 5 and so on. 

Any guidance would help. I am new to the software

Views: 750

Replies to This Discussion

This is possible with a bit of data tree management. The folling is assuming that the generated numbers are coming from something like grid, where they are structured in a data tree.

All you have to do is reverse the list of points and then get all even tree branches from the original list and all odd branches from the reversed list. Then put them back together and its done :)

Many Thanks Armin. I will try this solution now

Same principle (and assumption) as Armin used, only a bit more consize by using SplitTree:

Attachments:

Nice! Never really got how the splitting mask works, but that kind of makes sense.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service