How do I get the number of branches in a list? For example, with the attached panel, I want to return 9. List length returns 11. This must be simple, but I can't find it. Thanks, --Mitch
here are 168 contours with 11 frames each. If I change the direction of contours, they look fine, 168 lines. Now change the count in horizontal frames to 11 and I end up with: 20 frames. There are 168 list items, but all with 0 values inside, except the second one which has 9 values and the third one which has 11 values. Makes no sense at all!
I will attach the grasshopper file, you can have a little play yourself.…
ll these 12500 points.
Group 1 would represent the point located at 0, 5, 10, 15, 20 etc.
Group 2 - 1, 6, 11, 16, 21 etc.
Group 3 - 2, 7, 12, 17, 22 etc.
Group 4 - 3, 8, 13, 18, 23 etc.
Group 5 - 4, 9, 14, 19, 24 etc.
I can create the pattern but the selection of points are all the points in row 0 and then all the points in row 5 and so on.
I would like the selection of points to start at the bottom left, and sequentially continue to the right and then continue on the 2nd row (left to right & bottom to top). i am hoping the pattern i am trying to achieve is more understood with the quick screen capture I uploaded.
the end goal is to be able to select all the points in the grid that are in each pattern.
Thanks in advance for any guidance with this. …
Added by Alyne Rankin at 6:53am on October 11, 2017
very surface i.e. 33, which you are trying to match up with 3 surfaces in a single list. Which is the second issue you would need to graft the single list of surfaces before inputing them to both the P and C inputs. That way you are making GH Match the first surface with the first set of points and so on. and not every surface with each set of points.
To sort out the Data structure coming from the grid use a pathmapper with {A;B;C;D}(i) --> {A;B}…
Added by Danny Boyes at 4:11am on February 7, 2011
otate 9°, the second module 18°, the third 27°, etc. I can only seem to get all 11 modules to rotate the same... I know it probably has something to do with series but I can't figure it out. the screen shot shows the 11 modules rotating to the same degree and the drawing is a plan of what I am trying to accomplish. Thank you so much in advance!…
Added by Daniel Lamm at 6:54pm on September 4, 2014
output will show a tree with 3 branches of 4 integers each that I can pass on to other components. What is the best way to do it?
I have tried creating a tree and using a for loop to do so, but it didn't work.
Thank you for your help.
…
7, 9, 12 and 13 to be able to rotate freely around the y axis at nodes 2, 3, 6, 7, 10 and 11 respectively. The last 2 conditions, for elements 12 and 13, doesn't give any problems, but the first 4 does.
Any help?
…