Grasshopper

algorithmic modeling for Rhino

Hi. 

I have a few random points and a plane. Few of these points fall inside the plane boundary.I am trying to get a list of the points that fall inside the plane. The position of the plane may change, so i dont want to manually 'list item' the points.

Any help will be appreciated.

Thanx

Husain.

Views: 1357

Replies to This Discussion

You can input your points and plane into a decompose component (the one which gives XYZ, with optional P) and cull the ones giving Z==0. Or better: Z<Tol with Tol being small enough.

Thanx for the reply, 

But all the points and the plane are on Z=0 already. I just need to know how i can split the points in to different lists, One which are inside the plane boundary (4 points as shown in the image attached) and the other list that has the points outside the circle shaped plane as shown in the figure. All the points and plane are on Z=0.

I think perhaps you are confusing things a bit by calling your planar surface a "plane"?  They are two different things.  In the case that it's a planar surface, you can use the curve containment component.  The component will understand the edges of the surface as an input to the "C" parameter.

Ah a planar surface, well use the Containment and Dispatch components.

The surface should automatically convert to a boundary when you input it into Containment.

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