How to create shape with given vector3 array?

hello,How to create shape with given vector3 array?

only I want to create shape instead of BufferGeometry because I want to use hole attributes in shape.

I want to create wall shape from give red point .

An instance of THREE.Shape can only be created with 2D data. You probably need a different approach for implementing your walls.

Maybe you can use something from this solution.

Showrooms easy to generate from data of a construction drawing or dimensional sketch - now on Github

3D coordinates can be transformed in different ways.