Select Mesh Faces from Curve

Hi all, I am trying to select the mesh vertices that are closest to the curve that I set up. I already achieved that. But I wonder is there possible I can select the meshes whose vertices come from? Thank you.

SelectMesh_From vertices.gh (10.0 KB)

But you only have one mesh?

I assume you mean the mesh faces adjacent to given vertices? Sure. In this seemingly unrelated post, creating a vertice/face map was part of the solution. You would need something like that here, and there are plug-ins that provide such information.

From the image above, those mesh faces are sooner acquired through and edge/face map.

This link is broken, Volker

I have my previous question plus the same one as Volker; but since you said you want the ‘mesh’ the vertices came from, and you only have one mesh, I interpret you want to separate the mesh regions based on the vertices found closest to the line—CurveSide + CullVertices might help for this simple scenario:
SelectMesh_From vertices.gh (13.0 KB)


My interpretation might be way off, so please let us know @LOKI1

Hi Rene, thanks for helping clarify this. Yes, I think my question was bit confused. I think my attempt is to extract the face of this row, which is close to the crv I set up. I think I can modify your solution to achieve that. I will give it a try! Thanks

Yeah that’s different, you want the mesh faces that come in contact with the intersecting line:
SelectMesh_From vertices.gh (7.0 KB)

Select Mesh Faces from Curve VR 1.gh (11.2 KB)

Maybe better to define by rectangle region?


@LOKI1 . Here:

Select Mesh Faces from Curve VR 2.gh (8.8 KB)

It’s like using a pickbox.

Thank you Rene and Volker, you are amazing! This is exactly I am looking for! Good day

Thank you Volker, this is inspiring as well.