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

30 lines
829 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="jquery-1.12.4.js"></script>
<script src="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"/></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="main.js"></script>
</body>
</html>