ist.
In other words, I'm looking for the GH equivalent of
Dim x As New List(Of List(Of List(Of Double)))
For example, I might have an outer list of 10 items each containing 20 lists with 30 items inside each 2nd tier list.
Say the outgoing gh_Structure is:
Dim outgoing_Struc as new gh_structure(of gh_number)
I can't seem to figure out how I might use the "append" method to GH_Structure to insert items to specific paths to create a list of a list.
The additional complexity is that I want to customize the indices of the outgoing list. Instead of the outer most list running straight from 0 to 9, I might want to have its indices non-sequential as {0}, {2}, {5}, {11} for example. This helps in using the "Tree Item" component downstream as these specific non-sequential indices refer to something specific upstream.
For example, with custom indices, I can pull a specific sublist by using index {11;3} which may not exists if the indices ran sequentially.
I guess the more general questions is whether anybody has pointers on creating nested trees in a custom component with specific indices? It appears that GH_Path has a "DebuggerDisplay" property which masks the internal continuously running index but this is a read only property.
Any pointers would be helpful
Thanks.…
Added by kermin chok at 1:37am on December 10, 2013
is also worth mentioning that, if you haven't used them yet, we have a few components that can help you manage and format your geometry in the way that E+ likes (including components to split building masses into core/perimeter zones and a component to ensure that there are reciprocal matching surfaces of adjacent zones). These 3 videos in the Honeybee Energy Modeling tutorial series should help you use them in your workflow:
https://www.youtube.com/watch?v=cDvBWDA0aF0&list=PLruLh1AdY-SgW4uDtNSMLeiUmA8YXEHT_&index=10
https://www.youtube.com/watch?v=DClON71RuuA&list=PLruLh1AdY-SgW4uDtNSMLeiUmA8YXEHT_&index=11
https://www.youtube.com/watch?v=nMQ2Pau4q6c&list=PLruLh1AdY-SgW4uDtNSMLeiUmA8YXEHT_&index=12
-Chris…
view. So in the GH Definition i have only to estimate a center for always 4 holes. So i get 3 centers and they can be targets for the 3 details.
Sounds difficult but is not...look at the definition attached:
You have to find out what is best for your situation, this is just an example since i don't know what you're really doing.
As an extra tutorial i also added how to convert the text dots to 3d text, which you obtained from the counting. Could be useful for e.g. numbering the holes.
GH and 3dm files as well as screenshots are the attached zip file.
Cheers,
FF…
Added by Florian Frank at 9:47am on January 21, 2016
with various protocols and applications.
One module, led by Luis E. Fraguada will focus on the communication between Processing and Grasshopper utilizing the various protocols available through the gHowl add on for Grasshopper.
The four modules include:
Processing+Grasshopper: Luis E. Fraguada (Barcelona) - http://tinyurl.com/6m49x5e
Processing+OSC: Alba Corral (Barcelona) -
Processing+Shypon: Miguel Espada (Madrid) - http://tinyurl.com/7no8egx
OpenFrameworks+Kinect: Carles Gutierrez (Barcelona) - http://tinyurl.com/79mmsnd
For registration, please email: hola@welovecode.net.
…
Added by Luis Fraguada at 4:11am on February 29, 2012
he sunPath component works. For example if you want to simulate the hours from 8 to 16 it means you want 8 hours from 8 to 9, from 9 to 10,.... from 15 to 16 (8 hours duration period) so you get from the sunPath component (using default timeStep 1) the 9 sun position/vectors 8 9 10 11 12 13 14 15 16 (in the image the yellow suns). The things is that if you ask for a smaller timeStep for example 3 = 20 mins then the additional sun position (in the image the orange suns) are added also after the time limit of h16 so probably when you don't want/need. I understand that when you input a time period there is the ambiguity if the hours are the just 9 (the 9 inputs) or the 8 hours included between pairs of hours, but I would make in a way that it is possible to chose if the extra timeStep after the last hour are added or not. Thank you for your comments.
…
r [String Split] in version 0.9.0014)
The [Timer] prompts a component to up date at the set interval. in this case every 1 seconds.
The [Time] param is a placeholder for a time in the same way that a [Number] param can hold real numbers.
By using "Now" as the input to the [Time] param you will get the current time when the param updates. therefore every second it resets to the current time.
The [Text Split] is there to separate the output of [Time] in a string format at every colon ":"
Therefore "Monday, 13-MAY-2013 (11:23:30)" would become:
0 Monday, 13-MAY-2013 (1
1 23
2 30)
The next two components use this to convert it into the current seconds. Because we are after the last item "30)" we can use [List Item] on a reversed list to get the last item.
Now we have to remove the ")" with [Replace String] but we are replacing it with nothing so it disappears.
The Arrow is part of the Sketch Tool Functionality of the canvas.
Lastly the 3 different inputs should go into the three different Inputs of the [Stream Filter]
…
is shorthand for [0 to 8].
> 10 Any number larger than X. This notation is shorthand for [11 to infinity].
>= 5 Any number larger than or equal to X. This notation is shorthand for [5 to infinity].
--
David Rutten
david@mcneel.com
Seattle, WA…
Added by David Rutten at 9:27pm on November 3, 2013
tName_FinalProject_PartD.pdf
Below is the desk crit list, please sign up for a spot in the comments below:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
See you Monday!…
ed an domain for doing that and it works for the list output, but not for my whole definiion.
My definition I made works for the first line, without the Steps. Now I want to have the same thing for the whole surface. But I dont know why, the result is quiet messy.
The "gradient" from open to close (for the whole surface in the same direction) is kind of splitted. Further I have more surfaces created on one u/v coordinate. There should only be one per coordinate. And then there is also a problem thet the normal vector is not picked correctly any more.
Maybe you can help me on this?
Would be verry great!
Thanks in advance!…