-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimporter.html
37 lines (36 loc) · 1.29 KB
/
importer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html >
<html>
<head>
<title>SpiderGL STL</title>
<script type="text/javascript" src="./spidergl.js"></script>
<script type="text/javascript" src="./importer.js"></script>
</head>
<body>
<center>
<h2>SpiderGL STL</h2>
<div id="fps-div">FPS : 0</div>
<label>Select Model: </label>
<select id="info" onchange="getInfo()">
<option value="models/tire_v.stl">Tire</option>
<option value="models/ship.stl">Ship</option>
<option value="models/knot.stl">Knot</option>
<option value="models/porsche.stl">Porche</option>
<option value="models/sampleBinary.stl">Sample</option>
<option value="models/tete_complete.stl">Head</option>
<option value="models/tete_complete2.stl">Head (ASCII)</option>
<option value="models/Sample.stl">Sample2</option>
<option value="models/simple1.stl">Simple</option>
<option value="models/leonardo.stl">Leonardo</option>
<option value="models/cubo.stl">Cube piece</option>
<option value="models/magnolia.stl">Magnolia</option>
</select>
<br/>
<input type="text" id="customText" /><input type="button" value="Load" onclick="loadMesh()"/>
<br/>
<canvas id="draw-canvas" width="800" height="600" style="border:2px solid black;"></canvas>
<br/>
<textarea id="log-area" rows="10" cols="80"></textarea>
<br/>
</center>
</body>
</html>