-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
61 lines (55 loc) · 2.09 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
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8" />
<title>WebCad</title>
<link rel="stylesheet" href="style.css" />
<style>
#loading {
position: fixed;
top: 50%;
left: 50%;
color: #202020;
font-size: 20px;
margin-top: -30px;
margin-left: -40px;
}
</style>
<script src="lib/jquery.js"></script>
</head>
<body id="body">
<div class="top-bar">
<div id="topnav" class="topnav">
<label id="fileInput" for="files" title="Import STEP, IGES, or (ASCII) STL from File">Import STEP/IGES/STL/DWG/DXF
<input id="files" name="files" type="file" accept=".dwg,.dxf,.iges,.step,.igs,.stp,.stl" multiple style="display:none;" oninput="loadFiles();"/>
</label>
</div>
</div>
<div class="center-bar">
<div class="center-group">
<button class="opt-btn" id="DrawLine">
<img src="icon/Sketcher_CreateLine_Constr.svg">
</button>
<button class="opt-btn" id="DrawRect">
<img src="icon/Sketcher_CreateRectangle_Constr.svg">
</button>
<button class="opt-btn" id="DrawArcOfCircle">
<img src="icon/Sketcher_Create3PointArc_Constr.svg">
</button>
<button class="opt-btn" id="DrawCircle">
<img src="icon/Sketcher_CreateCircle_Constr.svg">
</button>
<button class="opt-btn" id="DrawEllipse">
<img src="icon/Sketcher_CreateEllipse_Constr.svg">
</button>
<button class="opt-btn" id="DrawBSpline">
<img src="icon/Sketcher_CreateBSpline_Constr.svg">
</button>
</div>
</div>
<p id="loading">loading js......</p>
<script type="text/javascript" src="./lib/pako.js"> </script>
<script type="text/javascript" src="./dist/app.js"> </script>
<script type="text/javascript" src="./lib/dwg/DwgApi.js"> </script>
</body>
</html>