1.0.8 • Published 6 years ago
js-3d-viewer v1.0.8
Instruction 1. npm install js-3d-viewer
Import or require js-3d-viewer
Add this to your HTML
<three-dimensional-viewer file="assets/sample.stl" window-width="500" window-height="500"></three-dimensional-viewer>
Parameters: file: filepath of your 3d object window-width: sets the width of the viewer window-height: sets the height of the viewer
Running the sample
On the root of the repository 1. npm install 2. npm run-script server