Extract surrounded surface

Hello,

I would like to extract the mesh wish surrounded by picked points. I couldn’t find a way to do that.


On this screenshot, we can see the mesh and the point picked, I would like to extract a partial mesh “inside” the points.

Is there an easy to do that ? I actually have my “complete” mesh and an array of points (picked on the mesh).

Thank you !

Maybe you can adapt something from this example for your problem?

From the Collection of examples from discourse.threejs.org

authors: @ma-ee-ku, @prisoner849
SelectFacesWithinRadius

1 Like

@Aqua Have a look: Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries!