Grasshopper

algorithmic modeling for Rhino

Hi,

I have to make one part in definition which have to do this:

input of that definition part will be angle from 0 to 180 degrees, and output have to be numbers from -120 to 120.

So, i have to make proportion 0/180 = -120/120

if input is 0, output will be -120, if it is 180, output will be 120.

input can be any number, maybe from 0 to 100, but output have to be -120 to 120

Thank you

m

Views: 412

Replies to This Discussion

The "Remap Numbers" component is probably what you're looking for. See attached file.

Attachments:

Tnx, that is what im looking for

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service