Grasshopper3d: choose value from interval?

Hi,

is it possible (without grasshopper plugins) to choose a value from a domain? i need to setup an interval and choose via slider values contained in it

thanks!!

Remap is a possibility (number slider 0 to 1.000 decimals at will)

1 Like

Thanks!
solution was much easier than i thought!

Choosing clipped works great!

mmmh, I’m not really unnderstanding that :slight_smile:

you’re remapping value 43 from domain [-12.5 to 12.5] to the very same domain [-12.5 to 12.5]

so the output value is the very same number you input, but because it’s Clipped then it caps to Targed_Domain_End = 12.5

The easiest way would be to right clic > edit your slider bounds with your min and max.
If you don’t need those bounds to change dynamically, obviosuly.

1 Like

That’s the problem, bounds need to change…

with this solution GH “discards” values higher not contained in the interval, doesn’t it? the idea is to set an slider much larger than needed and feed the intervar with a dynamic value. If the slider value is bigger remap will clip it, i have to test it

If I got it right, you might be looking for something like this?

2 Likes

that worked great!

(sorry for my late answering… )