-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
48 lines (48 loc) · 1.99 KB
/
index.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
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<title>meshdiff</title>
<meta charset="utf-8">
</head>
<body>
<div id="Interface">
<h1>Mesh Diff Tool</h1>
<p><label>フォルダ名入力:</label><input id="TargetName" type="text" name="TargetName" value=""></p>
<p><label>ブランチ名入力:</label><input id="BranchName" type="text" name="BranchName" value="master"></p>
<p><input id="Initialize" type="button" value="Gitデータロード"><label id="LoadStatus"></label></p>
<p>
<label>ファイル選択:</label>
<select size="1" id="FileList" name="FileList"></select>
</p>
<p>
<form id="ScaleSelect">
<label>モデルスケール選択:</label>
<input type="radio" name="Scale" value="0.001">ミリメートル
<input type="radio" name="Scale" value="1.0" checked>メートル
</form>
</p>
<p>
<table><tr><td></td><td>Before</td><td>After</td></tr><tr>
<td>リビジョン選択:</td>
<td><select id="beforeRevList" name="beforeRevList"></select></td>
<td><select id="afterRevList" name="afterRevList"></select></td>
</tr><tr>
<td>透過率:</td>
<td><input id="beforeAlpha" type="range" value="0.5" min="0" max="1" step="0.1"></td>
<td><input id="afterAlpha" type="range" value="1.0" min="0" max="1" step="0.1"></td>
</tr><tr><td></td><td></td>
<td><input id="SaveSTL" type="button" value="Afterを保存"></td>
</tr></table>
</p>
</div>
<div id="StlView" style="margin: 2px;"></div>
<div><input id="ClearView" type="button" value="クリア"></div>
<script type="text/javascript" src="js/inflate_stream.min.js"></script>
<script type="text/javascript" src="js/three.min.js"></script>
<script type="text/javascript" src="js/STLLoader.js"></script>
<script type="text/javascript" src="js/OrbitControls.js"></script>
<script type="module" src="js/GitLoader.js"></script>
<script type="module" src="js/STLDiff.js"></script>
<div>author: <a href="https://github.com/nomumu">nomumu</a></div>
</body>
</html>