Grasshopper

algorithmic modeling for Rhino

When slider is set to real numbers with one digit of precision, I can't set the range to be smaller than 1.0.

Views: 469

Replies to This Discussion

This is a hard-coded limitation in the slider, it always enforces a 1.0 difference between min and max to avoid zero-length ranges. I hesitate to change it now as it might cause unforeseen problems, but I'll be sure to improve the functionality for GH2 sliders.

Is there any temporary work-around?

Or if someone can think of a clever solution to the below problem?

I have a situation where this issue is limiting what i can do with Octopus E, as this plugin only accepts parameter values <1. I want to use between 3 and 6 steps in each slider. There are lots of sliders like this, and I want to keep possible slider combinations to a minimum. Any ideas?

Ah! The genepool does not have this 1 min bound limitation! I will see if i can solve it that way.

Hi Ludvig, you could set an expression for the slider, and provide some snapping values.
For example use expression x/3 on a integer slider with range 0 To 3 , and set as snapping values 0,1,2 and 3.

Edit: oh, since it's an integer slider you won't even need to set any snapping values.

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