algorithmic modeling for Rhino
I am trying to group list of my results (n) into following 4 groups:
10^(-4)≥n
(10^(-9)≤n) and (n>10^(-4))
(10^(-14)≤n) and (n>10^(-9))
(10^(-62)≤n) and (n>10^(-14))
For some reason, Grasshopper 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.
Tags:
Oh, and the final panel only shows the rounded values, but the real values are there in the file.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
God, I'm having trouble replying to this subject ^^
Ok, I was wondering if it is not just a definition problem :
Instead of :
10^(-4)≥n
(10^(-9)≤n) and (n>10^(-4))
(10^(-14)≤n) and (n>10^(-9))
(10^(-62)≤n) and (n>10^(-14))
Shouldn't this become :
10^(-4)≤n
(10^(-9)≤n) and (n<10^(-4))
(10^(-14)≤n) and (n<10^(-9))
(10^(-62)≤n) and (n<10^(-14))
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by