. Is it possible to control also the amount of the repeats in the beginning (and end) of each?What I mean is that right now I can get [x, x+2, x+4, y, y, y, y, x+4, x+2, x] values where I can control the amount of 'y' repeats in the middle, but have no control over the amount of 'x' repeats in the beginning, which would be helpful as well :)…
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…
actually in position 3)
Weave is useful when you have two lists with several objects in each, and you want to combine them into one list, in a particular order (that order being the "Pattern")
So if you have a list with letters: A, B, C, D, E, F... into input 1
And a list of numbers: 1, 2, 3, 4, 5... into input 2
With the pattern: 1, 1, 2
The output of the weave would be A, B, 1, C, D, 2, E, F, 3...
Until it runs out of list.
Hope that helped!
john…
a number between 0 and 1.
5. Generate random number for each of the points.
So each point have 2 numbers - distance D (remapped to 0 to 1), and random R (0-1).
X = D-R
If X is smaller than 0 then delete the point with cull pattern.
Should work.…
al to the sum of all the preceding integers in the list.
i.e.
A moves 1 unit, B moves 1+2 units, C moves 1+2+3 units, D moves 1+2+3+4 units..etc
I'm sure there is a simple answer to this that I am missing but would appreciate any help.
Thanks
Mark
…