Grasshopper

algorithmic modeling for Rhino

Hi< i have a problem.
I made a voronoi from points then corner points of all curves, then points projection on surf then...
and now i have a set of data with paths like that:
0;0;0;0;0;0
0;0;0;0;0;1
0;0;1;0;0;0
0;0;1;0;0;1
0;0;2;0;0;0
0;0;2;0;0;1

(it i just an example) and i need to group those brunches using their third number (0,1,2). How must i do it?

Views: 642

Replies to This Discussion


what is wrong?
It seems that your tree structure (top right) is unlike your example in the original post. It seems that each path is at the same level and therefore already grouped. All you need to do is to simplify it.

In order to replace path, if you look at the above examples, there is a F1 component that is taking input from a series component. The F1 component recreates the entire path structure and feeds it to the replace path component. Your example, on the other hand, is only providing it with one single string.

Please look at the examples more closely and the problem will become evident.
Yes, but this (what I do on the printscreen) is rather same as in HELP for AB?-P block.
ok, i`l try to work with F1, but I cannot find any information about path-making, and role of "&" simbol
http://www.grasshopper3d.com/xn/detail/2985220:Comment:30319

the replace component need a series of strings-numbers as large as the data that you are trying to arrange (the panels in your image has only one element each).

and as Sameer said, it looks that you don't need the replace component, the elements are already group in different branchs.
Meanwhile, try to plug in your data tree to a "Simplify Tree" component and see if you get what you are looking for...

Logic -> Tree -> Simplify Tree
thank you, but i work rather good with all those blcks, only study to work with
replace, select item, select branch blocks and so on

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service