Grasshopper

algorithmic modeling for Rhino

How could you reduce many different values into a specific amount ?

Hi guys,

 

From the image sampler I got a list of different values which I used as Radius for circles.

I am trying to reduce these values to only three using the MIN and MAX Components which replaces values that are inferior or superior to specific values and with a simple function which is: X<Y<Z.

This last function is not working and displays this error message :

"Syntax error: Operator < not defined for bool and double ".

 

Would you know why it is not working or would you have any advice to achieve this ?

 

Many thanks,

 

Arthur

 

 

 

Views: 535

Replies to This Discussion

Edit something screwy went on with the notation in HTML... try again.
GH does not accept the x(LT)y(LT)z, I don't even think it will do the "y(GT)x And y(LT)z" method so you will have to separate the functions.

Here's a GH components method with the GT, LT and AND components.

Brilliant, thank you very much Danny.
Here is the thread I used to complete the replacement of values:
http://www.grasshopper3d.com/forum/topics/replace-values-in-a-list-due
Thanks again Danny.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service