etc. and (1;1), (1;2), (1;3)... etc. I need all the (0; ...) into one list and (1; ...) into another.
The thing is I can't use split nor dispatch because I need to be able to add new branches or more points and to separate the list according to the first number.
Thanks a lot!…
ied 12 times in X (always with the same gap) and for each time has a rotation of 30°. Then, I'd like these 12 items are copied n times in Y, shifting 1 module per time. At the end, the last 12 items have to be copied again n times in Y, shifting 1 module per time, but in the opposite way (like a Z).
See attached an example.
Thank you for your help!
…
ves (13 in the attached file)
2 - I shift the curve list, in order to be able to use points from one curve and the curve above simultaneously.
3 - I divide those curves on multiple points (50 points each in the attached file)
4 - This is where it gets messy: I want to access the points as follows:
Pick the items 1 and 2, then the items 3 and 4, and like that with all the points.
I've generated a series with a {0;0}(n) structure. The first branch goes from 0 to 13 (the number of curves) and the second tree goes from 0 to 25 (half the point quantity) and n = 2.
I've the curves in a {a} structure, where "a" goes from 0 to 13.
So, what I finally have is an item component, where the curves are provided as list set, and the series as the item input. So, for each curve, I have 25 pairs of item index (0,1;2,3;4,5;etc.).
I thought that the out would be all the points of the curve sorted in pairs, but I get just two points per curve, and also a lot of points in the last curve. I have tried with tree branch and tree item and I keep getting no results. Moreover, I think that item component has the ability to pick specific items in tree-structured lists, so I don't know what is happening.
I have attached a screenshot and the GH definition. In order to work, you must create a circle in rhino viewport and then reference it in GH.
I've been stucked with this for several days, so any help will be appreciated.
Thanks in advance.…
the tree so that I have one tree with all the branches with 1 in the beginning, all the ones with 2 and all the ones with 3. They have differing numbers of branches for each index.
I can easily get a true/false pattern for each branch, but would need something like dispatch for branches rather then items. Or maybe if Tree Branch component could take a wildcard, where I can look for {1;*} for example.
…
ow do you sort data trees with distinctive number of list items in each branch?
In this example, there are 161 branches with three distinctive number of list items, 3, 4, and 5. I want to know if there is another way to sort out this data tree into this way: 3 vertices {0;0}, {0;1}, {0;2],...4 vertices {1;0}, {1;1}, {1;2},... 5 vertices {2;0}, {2;1}, {2;2},...
2. Is there a way to sort our surfaces based on number of distinctive list items automatically? For example, if there are surfaces with 3, 4, 5, 6, and 7 vertices, I want to make five branches with the same number of vertices automatically.
I hope my questions make sense...
Thank you!
Dongyeop …
Added by Dongyeop Lee at 12:14pm on October 3, 2016