mirror of
https://github.com/raviriley/STL-to-OpenSCAD-Converter.git
synced 2024-11-24 15:43:19 +01:00
44 lines
1.7 KiB
HTML
44 lines
1.7 KiB
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>
|
|
<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>
|
|
<button id="cancel" class="button" onclick="abortRead();">Cancel</button>
|
|
|
|
<div id="progress_bar">
|
|
<div class="percent">0%</div>
|
|
</div>
|
|
<p id="conversion"></p>
|
|
<span id="result"></span>
|
|
|
|
<div>
|
|
<a href="#" id="download" class="button" style="display: none">Download</a>
|
|
</div>
|
|
|
|
<footer>
|
|
<p class="badge">
|
|
<img src="https://gh-card.dev/repos/raviriley/STL-to-OpenSCAD-Converter.svg" style="width:100%">
|
|
<button id="btn">
|
|
<a class="github-button" href="https://github.com/raviriley/STL-to-OpenSCAD-Converter" data-icon="octicon-star" data-size="large" aria-label="Star raviriley/STL-to-OpenSCAD-Converter on GitHub">Star</a>
|
|
<br>
|
|
<a class="github-button" href="https://github.com/raviriley/STL-to-OpenSCAD-Converter/archive/master.zip" data-icon="octicon-download" data-size="large" aria-label="Download raviriley/STL-to-OpenSCAD-Converter on GitHub">Download</a>
|
|
</button>
|
|
</p>
|
|
</footer>
|
|
<script src="js/main.js"></script>
|
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
</body>
|
|
</html> |