13;2} ... 20.{13;12}
21. {21;0}22. {21;1}23. {21;2} ... 41. {21;20}
42. {34;0}43. {34;1}44. {34;2} ... 75. {34;33}
76. {55;0}77. {55;1} ... ....
I want to grab the first 8 [0-7], the next 13[8-20], the next 21[21-42] etc
so i have the (known fibonacci seq) list of numbers on the left here:
C S
8 0
13 8
21 21
34 42
55 76
89 131
144 220
233 364
and i need the list on the right, so that i can select items using a Series (N=1 and S and C from the list above) and a List Item component.
the simple question is:
is there a component that can take a list and accumulate it in this way that I need?
if not, is there anyone that can point me to a simple relevant VB example so i could easily adapt it?
many thanks,
gotjosh…
element connectivities in text, when matched with the corresponding coordinates of the nodes from dupPt, it makes all the polygons again (Green lines in the picture below), exactly as the original.
So Im thinking its like reconstructing everything again from the original shape with new relation between coordinates and element connectivities.
So in this case, eg: 0 1 2 3 4 5 makes the hexagon, 21 20 0 5 to makes the trapz.
Well here it misses the '0' in the end to close the hexagon here, the same with trapz. However the 'string join' and cset somehow close it to 0 1 2 3 4 5 0 to makes the hexagon, and 21 20 0 5 21 for trapz.
Im very glad now.
…
What is the problem here?
The sunpath is showing exactly what you asked for (default values, Dec 21, 12:00).
If you want more suns gice an analysis period/month/hour/day.
-A.
ector, a Point, or Lists of 3 numbers in Grasshopper? It's probably just wiser to keep tuples like this (they are a special Python construct after all).
The fix in the script, however, is very simple. Change curvepointlist.append(pt) to curvepointlist.append(rs.AddPoint(pt)) on line 24.
This will make RhinoPython tranform the tuple into a Guid, and the object will marshal nicely and quickly as the type that you expect it to be.
I hope this helps,
- Giulio________________giulio@mcneel.comMcNeel Europe…