2020-04-28 13:00:09 +02:00
|
|
|
<!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">
|
2020-04-28 13:42:50 +02:00
|
|
|
<script src="js/jquery-1.12.4.js"></script>
|
|
|
|
<script src="js/binaryReader.js"></script>
|
2020-04-28 13:00:09 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>
|
2020-04-29 11:21:43 +02:00
|
|
|
Convert STL files to OpenSCAD. Read more about it here:
|
2020-04-28 13:00:09 +02:00
|
|
|
<a href='https://www.thingiverse.com/thing:1383325' target=_new>Thingiverse: STL to OpenSCAD converter</a>
|
|
|
|
</p>
|
|
|
|
<div><span id="error"></span></div>
|
2020-04-28 13:10:46 +02:00
|
|
|
<div><input type="file" id="files" name="file" accept=".stl"/></div>
|
2020-04-28 13:00:09 +02:00
|
|
|
<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>
|
2020-04-29 11:21:43 +02:00
|
|
|
<a href="#" class="button">Download</a>
|
2020-04-28 13:00:09 +02:00
|
|
|
</div>
|
2020-04-28 13:42:50 +02:00
|
|
|
<script src="js/main.js"></script>
|
2020-04-28 13:00:09 +02:00
|
|
|
</body>
|
|
|
|
</html>
|