mirror of
https://github.com/leaders-of-digital-9-task/3d-viewer.git
synced 2024-11-10 19:36:37 +03:00
38 lines
673 B
Plaintext
38 lines
673 B
Plaintext
Stl Viewer v1.13, July 2021
|
|
===========================
|
|
|
|
Installation:
|
|
-------------
|
|
upload those files into your web server:
|
|
stl_viewer.min.js
|
|
parser.min.js
|
|
load_stl.min.js
|
|
webgl_detector.js
|
|
CanvasRenderer.js
|
|
OrbitControls.js
|
|
TrackballControls.js
|
|
Projector.js
|
|
three.min.js
|
|
ie_polyfills.js (optional)
|
|
|
|
|
|
Usage:
|
|
------
|
|
At the html body:
|
|
|
|
<script src="stl_viewer.min.js"></script>
|
|
<div id="stl_cont"></div>
|
|
<script>
|
|
var stl_viewer=new StlViewer(document.getElementById("stl_cont"), { models: [ {id:0, filename:"mystl.stl"} ] });
|
|
</script>
|
|
|
|
|
|
|
|
Documentation & License details:
|
|
--------------------------------
|
|
https://www.viewstl.com/plugin/
|
|
|
|
|
|
|
|
by Omri Rips, Viewstl.com
|