Grasshopper

algorithmic modeling for Rhino

Hello,

As shown in the picture, I have a surface (red) with a certain number of surface points and some boxes (green) that are intersecting this surface.

I'd like to evaluate which points are inside the breps and discard them, but I can't find a Python command to do this.

Does a simple method/command even exist or can someone suggest a workaround for this?


Thank you.

Views: 4387

Attachments:

Replies to This Discussion

Thanks again! Will do.

In addition to Anders and Peter's great answers:
The rhinoscript function which does the same (in fact it calls the IsPointInside method) is rs.IsPointInSurface(). The only difference would be with input types: instead of "Brep" and "Point" you would have "ghdoc object".

Thanks, I had tried the command, but it didn't work. Now, I know why, I was feeding it specified input types.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service