989e-044e8580d9cf"; //this is the grasshopper GUIDplugin = rhino.GetPlugInObject(pluginId, pluginId); // rhino is a COM object representing a rhino5 instanceplugin.OpenDocument("D:\MANUEL\Desktop\debugging.gh");
when running the OpenDocument method a window pops up with the following message
Grasshopper breakpointInvalid parsing operation inn GH_DigitNumber.Value
Running equivalent code in the RhinoPythonEditor works well.Please note that "plugin" in the code is an instance of "GH_RhinoScriptInterface" from the graashopper API.
Thanks.Manuel…
ep (brerp width = 1 unit)
i = 10
According to the following logic
IF A
A: C or A (random select)
B: C or A (random select)
C: D or B (random select)
D: B or D (random select)
Than choose c or A
Choose randomly the module C or A and move of 2 units (i)
Than
If C, choose D or B and move of 3 units
If A, choose C or A and move of 3 units
Than
any help appreciated
thanks
s…
generations of 50 individuals) of the same model that I got NaN's on before. As far as I can tell, it shouldn't be a division by zero problem, I'm solving the following formula: (a/10*b)-(c*d)-(e*f)-(g*h). I did save the text outcome of the run but I'm not sure which gene is what so I'm not sure how to recreate the exact situation... Is there something you want me to try?
BTW, what is a collision?
cheers,
wim
Genome[24], Fitness=-300.29, Genes [3% · 33% · 98% · 7%]
{
Record: Point Mutation at index 3: 0.0465 -> 0.0497
}
Genome[25], Fitness=NaN, Genes [3% · 33% · 98% · 9%]
{
Record: Genome was mutated to avoid collision…
ment is always at parameter 0 and last element at parameter 1, so if my parameters "t" are: (0, 0, 1, 1, 1)
my output list will be simply: (6, 6, 10, 10, 10)
but if I send a series of parameters like: (0, 0.25, 0.5, 0.75, 1)
the output will be: (6, 7, 8, 9, 10)
a linear interpolation between 6 and 10.
With more than 2 values in "D", the type of interpolation can change the output, see this:
and for block (blue) and cubic (magenta/pink) type the results would be like this:
Note that I just built points with a sequence of number in X and interpolated datas to Y (see again definition) to have a graphical support for this "explanation".
"Interp" component give as output the same type of objects as you give as input, number>number, integer>integer, even directly point>point (!) and so on...
(P.S. as can you see, I've prepass values to a "number" component before the "D" of "Interp" component; this because "Interp" component doesn't automatically convert text to number.)
Hope my english dont hurt you :P
bye
maje…
0;3} (N = 2)
{0;0;0;4} (N = 2)
{0;0;1;0} (N = 2)
{0;0;1;1} (N = 2)
{0;0;1;2} (N = 2)
{0;0;1;3} (N = 2)
{0;0;1;4} (N = 2)
Flattening this structure using the Flatten component would result in:
{0} (N = 20)
However, using a Path Mapper with the following masks will flatten is somewhat more intelligently:
{A;B;C;D} -> {A;B;C}
Now, you get:
{0;0;0} (N = 10)
{0;0;1} (N = 10)
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 3:19am on December 14, 2009