Grasshopper

algorithmic modeling for Rhino

Can I set the step size of an MD Slider (using some script)? So that I have 100 steps for a domain of "0 To 100"?

Views: 2038

Replies to This Discussion

Double click the MD-Slider canvas to bring up the options for the numerical domain.

I wasn't sure if the MD slider would behave like a normal slider where the given precision of the domain determines the output resolution.

Explode the point components and feed them through an "int" param. then recombine the coordinates again. That'll round your output to integer steps.

You could do this with rounding the x and y components of the slider:

 

Hi

I am trying to generate a set of N  set of x,y coordinates interpolated by the bezier crvgiven by  a MD slider

so far I am not able to generate any set of values..would you please help me to undestand if there is something wrong on what i am doing or if i need to set up my definition/components differently

I get a single set of XY coord. ( Dom 0.1/0.1 )  when the slider is setted as default but when i switch it to bezier crv nothing is generated

I think this has something to do with domain a series , i tried to split the "d domain trough a Div Dom comp but the point is that there is nothing coming out of the MD slider

is it possible to make what i want , does anyone can help me 

thanks in advance, regards

Filippo

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service