STL-to-OpenSCAD-Converter/STL-to-OpenSCAD converter.html
2020-04-28 04:42:50 -07:00

30 lines
852 B
HTML

<!DOCTYPE html>
<html>
<!-- based on http://jsfiddle.net/roha/353r2k8w/ -->
<head>
<title>STL to OpenSCAD Converter</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="js/jquery-1.12.4.js"></script>
<script src="js/binaryReader.js"></script>
</head>
<body>
<p>
Convert STL files to open SCAD, read more about it here:
<a href='https://www.thingiverse.com/thing:1383325' target=_new>Thingiverse: STL to OpenSCAD converter</a>
</p>
<div><span id="error"></span></div>
<div><input type="file" id="files" name="file" accept=".stl"/></div>
<button onclick="abortRead();">Cancel read</button>
<div id="progress_bar">
<div class="percent">0%</div>
</div>
<span id="conversion"></span>
<span id="result"></span>
<div>
<button>
<a href="#">Download</a>
</button>
</div>
<script src="js/main.js"></script>
</body>
</html>