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>
|
2020-06-16 02:42:47 +02:00
|
|
|
<h1>STL to OpenSCAD File Converter</h1>
|
|
|
|
<p>Convert STL files to OpenSCAD. Read more about it here:
|
|
|
|
<a href="https://www.thingiverse.com/thing:1383325">Thingiverse: STL to OpenSCAD converter</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div><span id="error"></span></div>
|
|
|
|
<input type="file" id="upload" name="file" accept=".stl">
|
|
|
|
<label for="upload" class="button">Choose File</label>
|
2020-06-16 08:11:05 +02:00
|
|
|
<button id="cancel" class="button" onclick="abortRead();">Cancel</button>
|
2020-06-16 02:42:47 +02:00
|
|
|
|
|
|
|
<div id="progress_bar">
|
|
|
|
<div class="percent">0%</div>
|
|
|
|
</div>
|
|
|
|
<span id="conversion"></span>
|
|
|
|
<span id="result"></span>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<a href="#" id="download" class="button" style="display: none">Download</a>
|
|
|
|
</div>
|
|
|
|
<footer>
|
2020-06-16 08:11:05 +02:00
|
|
|
<!--https://github.com/raviriley/STL-to-OpenSCAD-Converter-->
|
2020-06-16 02:42:47 +02:00
|
|
|
<p>view it on GitHub</p>
|
|
|
|
</footer>
|
|
|
|
<script src="js/main.js"></script>
|
2020-04-28 13:00:09 +02:00
|
|
|
</body>
|
|
|
|
</html>
|