-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·254 lines (209 loc) · 10.4 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<title>STLCAD - By Fisher Innovation</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no" />
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>-->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/Three-51.js"></script>
<script type="text/javascript" src="js/THREEx.WindowResize.js"></script>
<script type="text/javascript" src="js/plane.js"></script>
<script type="text/javascript" src="js/model-controls.js"></script>
<script type="text/javascript" src="js/thingiview.js"></script>
<script type="text/javascript" src="js/gcode-parser.js"></script>
<script type="text/javascript" src="js/gcode-model.js"></script>
<script type="text/javascript" src="js/jquery.filedrop.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/jquery-draggable-input.js"></script>
<script type="text/javascript" src="js/stats.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/ui/properties-sidebar.js"></script>
<script type="text/javascript" src="js/ui/navigation.js"></script>
<script type="text/javascript" src="js/ui/context-menu.js"></script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="nav-collapse collapse">
<ul class="nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#" id="nav-new-project">New Project</a></li>
<li><a href="#project-selector" data-toggle="modal">Open Project</a></li>
<li><a href="#">Save Project</a></li>
<li class="nav-header">Import Model</li>
<li><a href="#file-selector" data-toggle="modal">Load Model</a></li>
<li><a href="#stl-load" data-toggle="modal">Load STL</a></li>
<li><a href="#">Load From Thingiverse</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">View <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header">Camera Angle</li>
<li><a onclick="thingiview.setCameraView('top');">Top</a></li>
<li><a onclick="thingiview.setCameraView('side');">Side</a></li>
<li><a onclick="thingiview.setCameraView('bottom');">Bottom</a></li>
<li><a onclick="thingiview.setCameraView('diagonal');">Diagonal</a></li>
<li class="divider"></li>
<li><a onclick="thingiview.levelObject();">Level Objects on Build Platform</a></li>
<li><a onclick="thingiview.setObjectMaterial('soild');">Soild</a></li>
<li><a onclick="thingiview.setObjectMaterial('wireframe');">Wireframe</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Export <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#" id="nav-download-stl">Export STL</a></li>
<li><a href="#gcode-options" data-toggle="modal">Export GCode</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Help <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="https://github.com/fisherinnovation/FI-STLCAD/wiki/How-to-Use-FI-STLCAD" target="_blank">Help Content</a></li>
<li><a href="https://github.com/fisherinnovation/FI-STLCAD/issues" target="_blank">Submit a Bug</a></li>
<li><a href="https://github.com/fisherinnovation/FI-STLCAD" target="_blank">Project Source (Github)</a></li>
<li class="divider"></li>
<li><a href="#">STLCAD version 0.0.4 unstable</a></li>
<li><a href="https://www.fisherinnovation.com" target="_blank">Created by Fisher Innovation</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="prompt"></div>
<div id="viewer"></div>
<div id="context-menu">
<ul class="nav nav-tabs nav-stacked navbar-inverse"></ul>
</div>
<div id="model-properties">
<h4>Objects Displayed</h4>
<ul class="nav nav-pills nav-stacked navbar-inverse objects-displayed-list"></ul>
<fieldset>
<h4>Position</h4>
<label>X</label>
<input style="cursor:w-resize;" name="float" value="0" class="x-val" type="text" placeholder="">
<label>Y</label>
<input style="cursor:w-resize;" name="float" value="0" class="y-val" type="text" placeholder="">
<label>Z</label>
<input style="cursor:w-resize;" name="float" value="0" class="z-val" type="text" placeholder="">
</fieldset>
<a class="btn btn-inverse" onclick="thingiview.centerModel();">Center on Platform</a>
<a class="btn btn-inverse" onclick="thingiview.levelObject();">Level on Platform</a>
<fieldset>
<h4>Scale</h4>
<label>X</label>
<input style="cursor:w-resize;" name="float" value="1.00" class="x-scale" type="text" placeholder="">
<label>Y</label>
<input style="cursor:w-resize;" name="float" value="1.00" class="y-scale" type="text" placeholder="">
<label>Z</label>
<input style="cursor:w-resize;" name="float" value="1.00" class="z-scale" type="text" placeholder="">
</fieldset>
<fieldset>
<h4>Rotation</h4>
<label>X</label>
<input style="cursor:w-resize;" name="float" value="0.00" class="x-rotation" type="text" placeholder="">
<label>Y</label>
<input style="cursor:w-resize;" name="float" value="0.00" class="y-rotation" type="text" placeholder="">
<label>Z</label>
<input style="cursor:w-resize;" name="float" value="0.00" class="z-rotation" type="text" placeholder="">
</fieldset>
</div>
<div id="GCodeStatusDiv"></div>
<!-- File Selection Modal -->
<div id="file-selector" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Model Archive</h3>
<span class="help-block">Select one of the previously used models to append to the current project.</span>
</div>
<div class="modal-body">
<ul id="file-list" class="nav nav-tabs nav-stacked navbar-inverse"></ul>
</div>
</div>
<!-- Project Selection Modal -->
<div id="project-selector" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Open Project</h3>
<span class="help-block">Select one of the previously used projects to open.</span>
</div>
<div class="modal-body">
<ul id="project-list" class="nav nav-tabs nav-stacked navbar-inverse"></ul>
</div>
</div>
<!-- External STL Loading Modal -->
<div id="stl-load" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Load STL</h3>
</div>
<div class="modal-body">
<fieldset>
<legend>Load STL From Web</legend>
<label>STL URL </label>
<input id="stl-url" type="text" placeholder="Place URL Here...">
<span class="help-block">Enter a full url to a STL file hosted on the web.</span>
</fieldset>
<legend>Local STL File</legend>
<input type="file" name="files[]" multiple>
<span class="help-block">Choose a file from your local file system or drag it into this dialog.</span>
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a>
</div>
</div>
<!-- GCode Export Options Modal -->
<div id="gcode-options" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>GCode Export Configuration</h3>
</div>
<div class="modal-body">
<fieldset>
<span class="help-block">Leave field blank to use default values.</span>
<label class="checkbox">
<input type="checkbox"> Add Raft
</label>
<label class="checkbox">
<input type="checkbox"> Add Supports
</label>
<div class="left">
<label>Infill (%)</label>
<input id="stl-url" type="text" placeholder="10">
<label>Number of Shells</label>
<input id="stl-url" type="text" placeholder="2">
<label>Layer Height</label>
<input id="stl-url" type="text" placeholder="0.27">
<label>Extruder Temperautre (°C)</label>
<input id="stl-url" type="text" placeholder="230">
</div>
<div class="right">
<label>Platform</label>
<input id="stl-url" type="text" placeholder="110">
<label>Extruding Speed</label>
<input id="stl-url" type="text" placeholder="80">
<label>Traveling Speed</label>
<input id="stl-url" type="text" placeholder="100">
</div>
<div class="clearfix"></div>
</fieldset>
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a>
<a class="btn btn-warning" id="">Generate</a>
</div>
</div>
</body>
</html>