Problems with creating custom polyhedron geometry

If you are new, take a look at the collection of examples

Two simple examples there (one with test pattern)
http://discourse.threejs.hofk.de/2017/Indexed%20BufferGeometry/Indexed%20BufferGeometry.html
http://discourse.threejs.hofk.de/2018/Spotlight/Spotlight.html

Somewhat more complicated, different textures are applied to surfaces.
http://discourse.threejs.hofk.de/2017/PictureBall/PictureBall.html
http://discourse.threejs.hofk.de/2018/BufferLabyrinthCreation3D/BufferLabyrinthCreation3D.html