I agree, this method was implemented in our solution.
Our challenge is visual for the user.
Ring sizes are selected by the stone diameter used to make the ring.
With certain stone size the ring can only be created in 1/2 size
increment and according to this it can dispatched to the 1/4 or 1/8 or
1/16 etc.
and also the height gets is share of zone range.
The beauty of a Slider able to change its internal Min-Max-Num
according to these variables, makes
the the interaction with it, a think-less action by the user and a
small control panel if you will.
Our choice of Rhino vs SolidWork or SolidThinking (Construction tree
programs) is the freedom of branching our action as we please.
Now GH is something close to magic for us because we can have anybody
in our company being able to produce results just by Sliding and
Baking :-)
This is way Sliders are an amazing tools for us. But the less the
better.
I also understand that I will have to go into VB very soon (as we
speak!).
You gave me link but I do not know what it is or what to do with it. I
have seen it before but I never asked the question.
I humbly feel very small when it comes to GH and the question I ask
even though we do great work in Rhino.
Any help is always welcome and even if i'st not what I can use at the
moment it is usually a learning turning point at every step.

Thank you.

(so what is the Link? How can I use it to see what are you talking
about?)



On Jan 17, 9:08 pm, visose <[email protected]> wrote:
> > ..for example 2/16 or 8/16,
> > you display it as a fraction with the smallest denominator, that is
> > 1/4 or 1/2 respectively.
>
> math fail :(
>
> On Jan 18, 2:58 am, visose <[email protected]> wrote:
>
> > Maybe you find this 
> > useful:http://grasshopper3d.googlegroups.com/web/16fractions.ghx
>
> > I'm not sure if i understood correctly so maybe this has nothing to do
> > with what you are really looking for. What i figure is that the ring
> > sizes increase by 1/16, but when you have for example 2/16 or 8/16,
> > you display it as a fraction with the smallest denominator, that is
> > 1/4 or 1/2 respectively.
> > This definition contains an integer slider where each number
> > represents 1/16. This number of 1/16ths are then converted into the
> > appropriate format using a text tag on the rhino viewport. It will
> > display some text like "sz 2 and 1/4th" or "sz 4 and 7/16th". The idea
> > is not to look at the actual number that the slider is displaying, but
> > rather at the numbers displayed in the viewport.
>
> > I did it using standard components but if you do a search in google
> > you can find vb.net functions that convert decimals to fractions.
>
> > On Jan 17, 11:31 pm, CAD-NY <[email protected]> wrote:
>
> > > On Jan 17, 4:49 pm, David Rutten <[email protected]> wrote:
>
> > > > Hi CAD,
>
> > > > when you open the Expression editor of a slider (through the slider
> > > > context menu), it should tell you all the variables that are
> > > > available.
> > > > In the case of sliders, the variable that's available is the slider
> > > > name.
>
> > > >http://groups.google.com/group/grasshopper3d/web/SliderExpression.jpg
>
> > > I didn't realized that (thank you, more learning)
> > > In my case (ring sizes for jewelry) the sizes are broken down in 1/2,
> > > 1/4, 1/8 or 1/16th.
> > > We use Sliders to compound  the right finger Size. Es: (sz 6 and 7/8)
> > > or (sz 6 and 1/16th) etc.
> > > All of these obviously are in millimeters but the slider should be
> > > able to change the numeric disply from 1 to 4, or 1 to 8, or 1 to 16.
> > > Another Slider, based on the finger size,should change the Min, Max
> > > and Numeric input for Height of the ring (based on the Finger Size) so
> > > that the end-user needs not to think.
> > > Is this possible?

Reply via email to