Grasshopper

algorithmic modeling for Rhino

I'm using containment to test grid points inclusion within 3 surfaces. Containment works if I pass each surface individually, but when I use a series of all 3 surfaces I get weird results. Anyone have a suggestion?

 

Views: 730

Replies to This Discussion

At first glance I think there are a couple of issues here.

 

The points structure coming out of the rectangle grid are a separate branch for each 'column' of points, so there will be 11 branches for every surface i.e. 33, which you are trying to match up with 3 surfaces in a single list. Which is the second issue you would need to graft the single list of surfaces before inputing them to both the P and C inputs. That way you are making GH Match the first surface with the first set of points and so on. and not every surface with each set of points.

 

To sort out the Data structure coming from the grid use a pathmapper with {A;B;C;D}(i) --> {A;B}

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service