Grasshopper

algorithmic modeling for Rhino

dear all,

i would like to ask / propose something.

Is there a particular reason why ghp uses radians ? given that in the design world of non experts ,people usually go for degrees, isn't it a counter-intuitive workflow?

thanks

Views: 1230

### Replies to This Discussion

Oh I wasn't arguing, I just didn't understand the question.

The image you posted makes a lot of sense, that would be an excellent combination of Functions and Dispatch. You don't however need an If() function if you've already got a boolean value.

This expression:

x < 12

results in exactly the same things as this expression:

If( x < 12, True, False )

If() is only really useful when you want to return non-boolean data, like so:

If( x < 12, x, 100-x )

In this case, the expression will return either x, or 100-x if x is larger than or equal to 12:

x result

1 1

2 2

10 10

11 11

12 88

13 87

14 86

18 82

70 30

--

David Rutten

david@mcneel.com

Understood. Thank you David.

Dlhujem ti pivo!