ee 3)
{5}
0 15
{6}
0 16
And I want to place points at every possible combination of these coordinates, treating Tree 1 as X coordinates, Tree 2 as Y coordinates, and Tree 3 as Z coordinates. Also, I would like the list of points to be a tree with paths corresponding to the coordinates. Wouldn't it be nice if I could plug these trees into a Point XYZ, with a new "branch cross reference" method, and get the following result?
{0:3:5}
0 {10.0, 13.0, 15.0}
{0:3:6}
0 {10.0, 13.0, 16.0}
{0:4:5}
0 {10.0, 14.0, 15.0}
{0:4:6}
0 {10.0, 14.0, 16.0}
{1:3:5}
0 {11.0, 13.0, 15.0}
{1:3:6}
0 {11.0, 13.0, 16.0}
{1:4:5}
0 {11.0, 14.0, 15.0}
{1:4:6}
0 {11.0, 14.0, 16.0}
{2:3:5}
0 {12.0, 13.0, 15.0}
{2:3:6}
0 {12.0, 13.0, 16.0}
{2:4:5}
0 {12.0, 14.0, 15.0}
{2:4:6}
0 {12.0, 14.0, 16.0}
In this form of cross referencing, every combination of individual branches from the different lists is used as separate input, and the output for each combination is put onto a branch in the result whose path is the concatenation of the input branch paths used.…
Added by Andy Edwards at 7:03pm on November 3, 2009
if scale length is 25.5)
I knew there was a factor. Back in the day they used 18/17. However, this is kind of like using 3.14 rather than pi. Though it would probably be close enough for practical application, since I have the ability, I'd rather use the actual math. I'm not very good at math, but my understanding is that the "twelfth root of two" (2^(1/12)) is derived because an octave of a note is double (or half) the frequency of another. There are 12 notes, 13 being the octave, so 12 steps between the octaves. So you need a number that multiplied by itself 12 times results in it's doubling, hence 2^1/12. Like I said, I'm not great at math, so I'm not sure if I explained or even understand that correctly!
Thanks for your help, I'm going to look into using anemone!…
nput parameter and then set the named values on the second?
protected override void BeforeSolveInstance() { Param_Integer param0 = Params.Input[0] as Param_Integer; Param_Integer param1 = Params.Input[1] as Param_Integer; param1.ClearNamedValues();
GH_Structure<GH_Integer> data = param0.VolatileData as GH_Structure<GH_Integer>; if (data.IsEmpty) return; foreach (GH_Integer value in data.AllData(true)) { switch (value.Value) { case 1: param1.AddNamedValue("First option for 1", 11); param1.AddNamedValue("Second option for 1", 12); param1.AddNamedValue("Third option for 1", 13); break;
case 2: param1.AddNamedValue("First option for 2", 21); param1.AddNamedValue("Second option for 2", 22); param1.AddNamedValue("Third option for 2", 23); break;
case 3: param1.AddNamedValue("First option for 3", 31); param1.AddNamedValue("Second option for 3", 32); param1.AddNamedValue("Third option for 3", 33); break; } return; } }
--
David Rutten
david@mcneel.com…
Added by David Rutten at 1:56am on December 18, 2013
) function if you've already got a boolean value.
This expression:
x < 12
results in exactly the same things as this expression:
If( x < 12, True, False )
If() is only really useful when you want to return non-boolean data, like so:
If( x < 12, x, 100-x )
In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:
x result
1 1
2 2
10 10
11 11
12 88
13 87
14 86
18 82
70 30
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:22am on August 10, 2011
13 times, rather than once.
2. Related to 1: difficult to have shared state between RHP's in a shared DLL.
3. Installation of dependencies. In our case a FlexLM licensing service and MS redistributables.
It took me two days to go from zero knowledge of MSI's to a functional installer with WiX and we've never looked back.…
91 Items on 13 Branches (7 rows * 13 columns = 91 points)
Path Structure is:
The Address of all those items on the Data Tree.
Think of the "{0;0;0}" format as an addressing system.
The not obviously necessary extra 0's at this point represent the equivalent to Country and State (or something like that)
So the first point in your grid in Column 0 Row 0 has the address {0;0;0}(0)
The next point up is {0;0;0}(1) until you get to the to of the column {0;0;0}(6)
The Next column over is {0;0;1} with points ranging from (0) to (6)
We continue like this until we get to the last column Last Point {0;0;12}(6)
Therefore a relative path from the first point in the first column to the last point in the last column is {0;0;+12}(+6}
Does this make sense so far?…
7 -18.2
8 5.02
9 12.4
10 18.1
11 7.01
12 5.11
13 2.35
this data is waveform data.
i want to pick out only climax(for example in upper data, number 1 and 10) from this data.
i have this problem...that is, i do not know to do what.
i think my English is strange...so you are difficult to understanding my question.…