Grasshopper

algorithmic modeling for Rhino

I have a C# assembly that uses the MyBrep.IsPointInside method to check inclusion of points. For large amounts of points, it begins to fail for certain points, but always the same ones. In the image below, there's about 34,000 points, and the method always fails for the same points. I've tried changing the tolerance and strictlyIn parameters, no difference. Any idea what's going on?

Note: the points being checked are evenly distributed points within the bounding box of the brep.

Views: 3121

Replies to This Discussion

Post the C# + the data.

I've seen this before. It appears to be a bug in the rhino brep inside checker. If you post you data I can give it to the math guys in Seattle for fixing.

Hi David... I have the same problem. Could you look at the attached file and verify that IsPointInside is having issues?

Thank you,

Oliver

Attachments:

Thanx Tom I have a go with your code and get back to you!

Hi David,

I am having the same issue when using the point in brep component in multiple gh definitions.  Can you please help me with this as it is hindering my progress on a few projects.  Please see attached example file.  Thanks

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service