parse-stl-binary
STL binary parser
Parses an STL (STereoLithography) binary buffer to a mesh compatible with simplicial-complex. If you're looking for a streaming parser check this.
This module works well with merge-vertices to deduplicate identical vertices from different faces.
Install
$ npm install parse-stl-binary
Usage
var parseSTL = ;var fs = ; var buf = fs;var mesh = ; console;/*{ positions: [...], cells: [...], faceNormals: [...]}*/