Grasshopper

algorithmic modeling for Rhino

Slider objects are just about finished. Only thing lacking is the textfield input. This animation shows (in order of appearance):

(0:00) Three types of slider display; knob, bar and grip. The bar slider has an icon associated with it instead of text. The sliders have been added to the same 'bundle', meaning they co-ordinate their layout so that the rail and the grips line up vertically.
(0:06) Numeric popup while dragging a knob.
(0:20) One of the states of the icon can be slaved to the slider value, thus resulting in an animated icon.
(0:30) A slider with named presets and snapping. Presets need not be spaced equally.
(0:40) Slider values can be incremented/decremented by the smallest possible amount using the [-] or [+] keys, or the arrow keys.
(0:53) Sliders can be snapped to the nearest preset using [.]
(1:01) Sliders can be set to the lowest/highest possible value using [Home] or [End]
(1:12) Zooming in increases the accuracy of a slider.

Views: 380

Comment

You need to be a member of Grasshopper to add comments!

Comment by David Rutten on December 7, 2016 at 12:20pm

[...] or is that what you meant by "textfield input"? 

The same thing as in GH1, where you can double click a slider and then you can just type a number.

What would happen if one accidentally clicks to the side of the grip/bar/knob and starts dragging, would the Slider component be relocated/moved, can we lock their location on the canvas?

These are not slider components. They are slider UI controls. Eventually they will be used by slider objects on the canvas, but they will also appear everywhere else in GH where a slider is needed; Preferences, RCP, separate windows, menus, colour pickers, gene pools, ...

The slider UI object only responds to clicks on the grip/bar. If one clicks near the grip then nothing happens. It will be up to whatever code hosts a slider to decide in that case, and it may well choose to start moving the slider anyway. Depends on context whether or not that makes sense I think.

Comment by Pieter Segeren on December 7, 2016 at 11:12am

These sure do look clean:)
Do these still have an optional visible label/Nickname, or is that what you meant by "textfield input"?
What would happen if one accidentally clicks to the side of the grip/bar/knob and starts dragging, would the Slider component be relocated/moved, can we lock their location on the canvas?
Do the V2 sliders come with a build in (context menu) option for a datadam maybe?

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