1 Star 0 Fork 4

cqmwy/WebCad

forked from cowboy1997/WebCad 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 2.44 KB
一键复制 编辑 原始数据 按行查看 历史
cowboy1997 提交于 2022-03-13 21:12 . 提交dist
<!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>
</head>
<body id="body">
<div class="top-bar">
<div id="topnav" class="topnav">
<!-- <a href="#" title="Save Project to .json" onmouseup="saveProject();">Save Project</a>
<a href="#" title="Load Project from .json" onmouseup="loadProject();">Load Project</a>
<a href="#" onmouseup="threejsViewport.saveShapeSTEP();">Save STEP</a>
<a href="#" onmouseup="threejsViewport.saveShapeSTL();">Save STL</a>
<a href="#" onmouseup="threejsViewport.saveShapeOBJ();">Save OBJ</a> -->
<label id="fileInput" for="files" title="Import STEP, IGES, or (ASCII) STL from File">Import STEP/IGES/STL
<input id="files" name="files" type="file" accept=".iges,.step,.igs,.stp,.stl" multiple style="display:none;" oninput="loadFiles();"/>
</label>
<!-- <a href="#" title="Clears the external step/iges/stl files stored in the project." onmouseup="clearExternalFiles();">Clear Imported Files</a> -->
</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 wasm......</p>
<script type="text/javascript" src="./dist/app.js"> </script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cqmwy/web-cad.git
git@gitee.com:cqmwy/web-cad.git
cqmwy
web-cad
WebCad
master

搜索帮助