Create a JS module to load, analyze and preview STL Files (ASCII and BINARY).
This can be created using NPM Packages or ThreeJS or Other.
The most simple method is preferred so others can understand how the module works. If possible to build from scratch that would be amazing!
Functions
- Read STL file from User Upload (store in users localStorage if possible) see test STL file in public/stl/3DBenchy.stl
- Parse STL file and display data on Left Side of Viewer
- Extract total model volume mm3
- Extract overall dimensions L x W x H in mm
- Preview STL file in Viewer (Right Side)
Create a JS module to load, analyze and preview STL Files (ASCII and BINARY).
This can be created using NPM Packages or ThreeJS or Other.
The most simple method is preferred so others can understand how the module works. If possible to build from scratch that would be amazing!
Functions