JOHN watch out for ZIG ZAGS if the pattern is a bit more random and not sort of parallel can see find next point doing werid things.
Ok if have CIV3D can make triangles then remove Long triangles, other software has that, then can do even Bpoly to get outside shape.
Like you though will check join points as is.

I got it to work in a long winded approach, used make triangles TriangV0.6.7, explode triangles, erase using fence along centre of the 2 outside points so end up with a hole. Hatch hole, then run hatch boundary, erase hatch and other objects etc a lot of work. But doable and reasonably quick once worked out how.
There is some 3d points with z elevation others are at 0.0 so flattened points 1st.

Applying the idea of erase outside triangles could build possibly 3d linework. But very much doubt automated.