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…
is passable give different distance in list of point to delete
ex: point 1 - 30
point 2 - 20
point 3 - 10
...........
the point all in one list
i try a lot but didn't found the way ...
radius / 3 Then field_value += 1 * (1 - 3 * test_dist ^ 2 / radius ^ 10) ElseIf test_dist >= radius / 3 And test_dist < radius Then field_value += (3 / 2) * (1 - test_dist / radius) ^ 10
Not sure yet how to reduce the new angled beam artifacts.
The question remains whether there is a superior function that avoids bulge completely so I can start rationally designing bulk objects with mere lines.
Actually, if I move a parentheses to make both powers into divisors and tweak the sliders, I get rid of nearly all bulge, while improving the corners:
If test_dist > 0 And test_dist < radius / 3 Then field_value += 1 * (1 - 3 * test_dist ^ 2 / radius ^ 10) ElseIf test_dist >= radius / 3 And test_dist < radius Then field_value += (3 / 2) * (1 - test_dist / radius ^ 10)
That I can work with!
…
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.…
x and min values for x,y,z and calculate energy for each optionand collect these results in excel sheet ...
option No. x y z Annual coiling demand(by DIva)
1 10 10 10
2 10 15 20
3 11 10 19
4 12 14 17
5 15 16 15
6 16 11 14
7 18 12 12
.
.
etc
Regards ...
hossam
Hossam.wefki@gmail.com…
- C
{2;0} (N=61) - D
{2;1} (N=60) - E
{2;2} (N=61) - F
group 2:
{0;0} (N=10) - U
{0;1} (N=10) - V
{0;2} (N=10) - W
{0;3} (N=10) - X
{0;4} (N=10) - Y
{0;5} (N=10) - Z
the idea case is I can merge those date sets in a pattern of A-U-B-V-C-W-D-X-E-Y-F-Z...so on
therefore I am thinking how could I modify the path on group 2 and make them becomes things like:
{0;0} (N=10) - U
{0;1} (N=10) - V
{0;2} (N=10) - W
{1;0} (N=10) - X
{1;1} (N=10) - Y
{1;2} (N=10) - Z
but I have no idea how could I modify the path in that way....
can anyone show me how to?…
Added by Preston Chan at 8:34pm on October 26, 2010
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
and B inputs. This gives the odd results. I replaced the B Panel with an integer slider and the Pow component works properly.
When I use a Panel for B I get the following results (A panel is 10):
B=0 R=10
B=1 R=100
B=2 R=10,000
B=3 R=100,000,000…
Added by Steven Hall at 7:38pm on September 7, 2010