Grasshopper

algorithmic modeling for Rhino

hi @ll

how do i feed my slider with an input (to have a variable upper limit)

thanx

Views: 632

Replies to This Discussion

Hi Pyrit,

you can't. What you can do is create a slider from 0.0 to 1.0, then remap the slider value into a customized domain using the Remap Numbers component.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
hello david,

thank you very much vor your quick reply, worked out fine !
could you be so kind and explain to me what the " optional source domain " is, for what stuff used ?

thanx
By default, the source domain is 0~1. However, let's assume you want to remap numbers from Celsius to Fahrenheit. Zero degrees Celsius equals 32 Fahrenheit and 100 degrees Celsius equals 212 Fahrenheit. The 0~1 domain isn't of much use here, as the source domain should be defined as 0~100 and the target domain as 32~212.

Or, assume you want to remap degrees to radians. 180 degrees equals pi radians, meaning the source domain should be 0~180 and the target domain 0~pi

--
David Rutten
david@mcneel.com
Poprad, Slovakia

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