Take a look at these things.
Magic Box example 9
( see Addon to create special / extended geometries
and
GitHub - hofk/THREEg.js: three.js addon to create special or extended geometries. The addon generates indexed or non indexed BufferGeometries.)
The example
weiße Weihnacht
uses the old Geometry. You have to update to BufferGeometry.