- Blog Post: https://tonybox.net/posts/simple-stl-viewer/
- The post covers a slightly earlier version than this.
This uses three.js, which is linked as a submodule.
git submodule init
git submodule update
You can run any web server for this. It won't work locally, since it uses ajax to download the STL file.
You can use python's built in HTTP server, or any other HTTP server.
python2 -m SimpleHTTPServer