38 lines
710 B
Plaintext
38 lines
710 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
|