Wrap selected points with a shape

I have a 3D scatter plot. In this plot, I can select multiple points using a 2D polygon. I want to create a shape that will wrap all the selected points inside it. I found ExtrudeGeometry pretty easy to implement as the wrapper shape, but I find it confusing to place correctly.

here’s the full question, with all the necessary details: three.js - Wrap selected points with a shape - Stack Overflow

I would love to get help here / in SO :slight_smile:

Something like this:

Looks interesting. Any source code available?

_X_Polygon.html (8.5 KB)