This library is intended to handle exporting 3D geometry to polygon formats like:
Create STL data from a geometry group as:
const stlArray = SKYEXPORT_POLY.generateStlOutput(geometryGroup)
const stlData = stlArray.join('\n')
Create PLY data from a geometry group as:
const plyArray = SKYEXPORT_POLY.generatePly(geometryGroup)
const plyData = plyArray.join('\n')
If you want to download these STL or PLY data as files, you can check this section.