Face Near To Point

how i can pick a face of brep near this point this face ?

or get it by near curve how i can do that ?

Hi @user2142

I recommend you to deconstruct the brep, use the Surface Closest Point to find the distance between the point and all your brep faces, then sort the faces by the resulting distance.

Point Face.gh (11.0 KB)

Regards

3 Likes

Hi!
Another attempt where you can specify the maximum allowed distance (should save computation time) and which should consider trimmed surfaces.


brep_cp.gh (17.7 KB)

If you are only interested in the first match, you can break the loops within the Python component.

Best
Thomas

2 Likes

thank u very much