How can I get which side landed on top in an octahedron dice?

Specifically for BoxGeometry you can iterate through g.attributes.normal, getting data for every fourth vertex.
Some information about BufferGeometry: How ot get vertices, faces, faceVertexUvs from bufferGeometry - #2 by prisoner849