Solid.toSTL()

Serializes the current solid to an ASCII STL string.

Usage

javascript
const stl = solid.toSTL('part', 6);

Use this in browser or Node environments when you want the STL content directly.