SKYEXPORT_POLY
This library is intended to handle exporting 3D geometry to polygon formats like:
STL
Create STL data from a geometry group as:
const stlArray = SKYEXPORT_POLY.generateStlOutput(geometryGroup)
const stlData = stlArray.join('\n')
PLY
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.