Grasshopper

algorithmic modeling for Rhino

Hello everyone.,

 

I am trying to solve a problem...the simplified version of it is selecting the NON BOUNDARY SURFACE DIVIDE POINTS....FROM A SURFACE.... i am not able to subtract one list of points from another list.......

Views: 2451

Attachments:

Replies to This Discussion

thanks a million...wrks perfect....bt 

on the R output of the containment component it says :

 

Point/Region Relationship (0=coincident; 1= inside ; 2= outside)..

 

i do not understand that how to switch between 0, 1 and 2...i cant find the "Set integer " menu...

If a point is inside the boundary curve the output is 1. If the point lies on the boundary curve it is 0 and for all the points outside of the closed curve the output is 2. Therefore in this case you get a boolean pattern of 0's and 1's for the cull pattern component. If however you wanted to select a bunch of points in grid with a curve then you would get 2's and 1's with a possibility of 0's. In this case you need to manipulate the output to get a culling pattern. I usually do this by subtracting 1 from the output to get -1's (coincident) 0's (inside) and 1's (outside) and Inverting the pattern input. This gives you inside only, If you want both coincident and inside then I use an Fx component with the expression floor(x/2) and then inverted.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service