algorithmic modeling for Rhino
does anybody have a workflow to limit a slider´s output range to another sliders value.
i made a small example to illustrate this:
the definition consists of three concentric circles which are elevated to different z values. the z-value of the top circle should not be smaller than the one of the center circle, the center circle should not be set higher than the top circle or lower than the bottom circle. when lifting the bottom circle higher than the center circle, the center circle should automatically lift too, etc ...
Tags:
@ joseph:
thanks for the help !! its a very good solution for my more complex solution (that i did not post here).
in many cases the newly introduced slider is even more useful than than the original slider, because it reflects a "percentage" value, as it ranges from 0 to 1.
in the example posted here it would be better to see the actual z position of the middle circle. one can of course solve this by using a line dimension copmponent to see the value in the rhino viewport or do some maths and show the value in a panel.
as a wish i would like to have a slider component with "numeric domain" as input parameters (maybe also "rounding" and "digits"). the slider position and value then would update automatically, if altering the numeric domain results in a value outside the range.
The 'Remap R' output is the Z value you want. You can display that in a panel or use it in other ways.
thanks again !
yes, obviously its the actual z value as it goes directly into the move vector (silly me)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by