rated by "<" symbols. Examples: "2<10", "2<4<10", "Pow(2, 1)<5*Sin(3)<10".
The entered text contains 2 or 3 segments separated by two or more consecutive dots. Examples "2..10", "2..4..10", "Pow(2, 1)....5*Sin(3)..10".
If only two segments are provided, then the initial value will be the same as the minimum value. If a bounds number or a default value is written as a simple number, then the number of decimal places will be harvested. I.e. "2..4..10" is not the same as "2..4..10.00" as the former will result in an integer slider and the latter in a slider with two decimal places.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 10:08am on February 15, 2013
sequence
Ok, then yes, but still, the next case. We have 20 curves, 0 and 19 are the same. You do 4 sublists of 5 crvs and uses RemDupCrvs. The index 0 and 19 will never be in the same branch (so dont be deleted except if at the end you flatten everything) whereas the comparison of curves with indices 0 and 1 has been calculated as many times as you have repeated that process. But I do not know the reason for the increase in speed actually.…
opper is all these values "recognizing" as similar/same.
I got list of results (n) with following values:
0. -3.2584e-9 1. -4.4992e-9 2. -6.7220e-9 3. -4.5154e-9 4. -4.3325e-9 5. -2.2496e-9 6. -2.2385e-9 7. -6.7525e-9 8. -4.5154e-9
Even though most of these values (maybe all of them) "go" into the second group:
(10^(-9)≤n) and (n>10^(-4))
Grasshopper recognizes all of them as members of the first group:
10^(-4)≥n
I am aware that this kind of very small values are unusual, and maybe Grasshopper is not made for it. But is there any way this can be done?
Take a look:
Thank you.…
he same order of the list. for example i have a list with 4 different lenght of curve like this:
0= 10
1= 12
2= 8 (minimum)
3= 17 (maximum)
and wont to make a ranking that the longest curve gets the value 4 and the smallest the value 1, like this
0= 2
1= 3
2= 1
3= 4
i tried the sort list function, but it dosn`t work
can anybody help me!
thx a lot…
operate on the data from your own components.
2) Put your 2D array data inside a Grasshopper.Kernel.Types.GH_ObjectWrapper instance, which is a class that can be used to transmit non-standard data through wires. Again, you'll only be able to use this from your own components.
3) Create your own data-type (implement IGH_Goo) as a 2D array.
4) (and my favourite) store your 2D data in a DataTree instead. All grasshopper data is stored in trees and it's possible to mimic a 2D array this way. For example, you could create a tree like this:
{0} N = 10
{1} N = 10
{2} N = 10
{3} N = 10
{4} N = 10
This would be analogous to a 2D matrix of 5 x 10.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
output: 0, 1, 3, 6, 10, 14, 17I have a basic understanding of programming and can understand vb.net better than I can write it. Any help would be greatly appreciated!ThanksJeff…