see Shapes WallBuilding ExtrudeFromPoints ExtrudeBufferGeometry from the Collection of examples from discourse.threejs.org