Grasshopper

algorithmic modeling for Rhino

Hi everyone !

Do somebody know , how to let GH counting in degree instead of radian ??

Thanks !

Views: 4987

Replies to This Discussion

i use an f1 component
and type in the expression editor

Rad(x)

then connect a slider with the degrees you nedd
say from 0 to 90 degrees

that does it
best
mario
Thanks man !!
you welcome
Another solution is to add an expression to whatever angle parameter you're using. If the parameter is called "A" (it usually is), then the expression would be:


If you don't know how to type the Degrees symbol and you don't want to use the Expression Editor, you can also type:

A<deg>

instead and Grasshopper should replace the tag with the degrees symbol.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Awesome...I knew that buying a machine with a Spanish keyboard would come in handy!

p.s. its getting difficult to keep up with all of the expression logic you have been putting together...its great stuff! Are there any more tags that work that way?
Oh heavens yes.

Operators:
** becomes the crossproduct operator
<cross> becomes the crossproduct operator
<crossproduct> becomes the crossproduct operator
<outer> becomes the crossproduct operator

<d> becomes the degrees operator
<deg> becomes the degrees operator
<degrees> becomes the degrees operator

<2> becomes the square operator
<square> becomes the square operator
<3> becomes the cube operator
<cube> becomes the cube operator

<project> becomes the Pull operator
<pull> becomes the Pull operator
<push> becomes the Push operator
<dist> becomes the Distance operator
<distance> becomes the Distance operator

!= becomes the Inequality operator
<> becomes the Inequality operator

<almost> becomes the Near Equality operator
<almostequal> becomes the Near Equality operator
<approx> becomes the Near Equality operator
<approximately> becomes the Near Equality operator
<similar> becomes the Near Equality operator
~ becomes the Near Equality operator


Functions:
<sum> becomes the Summation function
<sumtotal> becomes the Summation function
<summate> becomes the Summation function

<prod> becomes the Multiplication function (a very woody sort of operator)
<product> becomes the Multiplication function

<average> becomes the Average function
<mean> becomes the Average function
<hmean> becomes the Harmonic Mean function
<harmonicmean> becomes the Harmonic Mean function
<gmean> becomes the Geometric Mean function
<geometric> becomes the Geometric Mean function
<geometricmean> becomes the Geometric Mean function


Constants:
<pi> becomes the PI symbol
<phi> becomes the PHI (golden ratio) symbol
<inf> becomes positive infinity
<infinity> becomes positive infinity

<1/2> becomes the one-over-two symbol
<0.5> becomes the one-over-two symbol
<half> becomes the one-over-two symbol
<1/4> becomes the one-over-four symbol
<0.25> becomes the one-over-four symbol
<quarter> becomes the one-over-four symbol
<3/4> becomes the three-over-four symbol
<0.75> becomes the three-over-four symbol
<threequarters> becomes the three-over-four symbol
<1/3> becomes the one-over-three symbol
<third> becomes the one-over-three symbol
<2/3> becomes the two-over-three symbol
<twothirds> becomes the two-over-three symbol


--
David Rutten
david@mcneel.com
Poprad, Slovakia
as of now, is this the only place the outside world has access to these tags (in terms of documentation), or did I miss them in 0057?
This is the only place in the whole of space (but probably not the whole of time) that lists all the conversions. I find I rarely use anything besides <pi>, <2>, <3>, <deg> and <dist> myself.

--
<firstname> <lastname>
<firstname>@<companyname>.com
<town>, <country>
Thank you ! Wow !
nice!!...thanks so much!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service