STL-to-OpenSCAD-Converter/STL-to-OpenSCAD converter.html
2020-04-29 02:21:43 -07:00

28 lines
847 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 OpenSCAD. 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>
<a href="#" class="button">Download</a>
</div>
<script src="js/main.js"></script>
</body>
</html>