Grasshopper

algorithmic modeling for Rhino

Screenshot%20%2890%29.png

Hi, I'm trying to generate a script that will allow me to select specefic points of the surface so I can pull the pints back with a number slider.

Thoughts? Help? 

facade%20test%202.gh

Views: 823

Replies to This Discussion

This is rather easily done (individual points: meaning getting them by means of some index) but only via code (C# in my case). Additionally ... code is used in order to "reset" sliders to some "neutral" value if points are accessed for another time etc etc.

For instance: assume that a slider controls the distance from a given normal and goes from -something to +something. Each time that a point is accessed the value should be 0 in order to respect the previous "state" of that point. If we use 3 sliders (x,y.z) then ... blah, blah. Points are stored as persistent data into a data parameter and then retrieved accordingly.

Notify if you think that such an approach could be useful to you (but it doesn't use any native component).

Thank you. I was, however, looking to find a way to do this within gh. Is that possible? 

Well ... let's assume that there's a way to record some stuff .

BUT ... the critical point here is the slider control (not to mention the history of your "variants"). I mean "manage" the value(s) that HAS TO BE the new one with respect the previous one (case one slider as above) OR the new ones (case more sliders as above). Otherwise each time that you access an already modified point ... well you understand what happens.

And that is impossible with components.

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