Grasshopper

algorithmic modeling for Rhino

I'm trying to figure out how to take a surface and create a panel system so that the panel height is influenced by the distance from an attractor point. Something similar to the Quadlogic_C project by StudioMode http://modelab.nu/?p=826. Instead of having the distance from the attractor directly affect the height I want to create a capping system that groups similar distances within the same height. For instance, if the length of the distance from specific points are less than 1 then their z height will all be set to 10. If the length of the distance from other points are between 1 and 2 then the z height will be 15 etc.
What I'm struggling with I think is first a data tree issue. When I feed the distance results into the points Z height it creates 400 z points. Ideally the point would have only one Z height.
The second issue I'm having is trying to figure out whether I need a boolean or a dispatch function in order to group sets of numbers together for a more uniform z height.
Thanks in advance.

Views: 1170

Attachments:

Replies to This Discussion

It was an issue with my data trees.
do you mind linking the fixed files?
it could be simple,cause i found some unuseful link,check it , you might find easer way!

Hi Jeff

I am really stucking in somewhat the same problem you had in this definition. did you finally find a way to solve it?

behnaz

Jeff,

Any chance you still have the working definition lying around? I'm trying to solve a similar problem...

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