Grasshopper

algorithmic modeling for Rhino

I have a triangle in 3d space and smaller squares in theory on the same plane as the triangle curve. I want to make a holes in the triangle with the squares.

Maybe the triangles are not accurately on the surface of the triangle surface, so I am exploding the squares and using closest pont on brep I trying to "project them onto the triangle surface. My problem is, the that despite this method the new points seem to be not within the brep triangle. 

What is my mistake?

Views: 1363

Attachments:

Replies to This Discussion

Error: Point in Brep comp. only works with closed breps.

Solution: If distance (of Brep CP) < 0.001 then points (of inner curves) are inside.

Attachments:

Thanks Gonzales,

But I dont understand. My trinangle is absoultely closed!

If you pass a closed curve to surface/brep type, the result will be a surface, not a closed brep. You can pass it to closed brep by extruding the surface.

González* 

Notice there is a PointInCurve component too, but you don't seem to need it: As Dani demonstrated you just need all the curves (in a flat list) and a BoundarySurface component. If that works (as it does for your case) the curves are all in the same plane (well... within tolerance).

thanks a lot guys!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service