2020-04-28 13:00:09 +02:00
<!DOCTYPE html>
< html >
<!-- based on http://jsfiddle.net/roha/353r2k8w/ -->
< head >
2020-07-01 00:48:52 +02:00
<!-- Global site tag (gtag.js) - Google Analytics -->
< script async src = "https://www.googletagmanager.com/gtag/js?id=UA-58161369-2" > < / script >
< script >
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-58161369-2');
< / script >
2020-07-01 00:50:33 +02:00
<!-- End Google Analytics -->
2020-04-28 13:00:09 +02:00
< 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 >
2020-07-01 00:58:01 +02:00
< p > This tool allows you to convert .STLs to .SCADs with ease. See it on GitHub at the banner below or read more about it here: < a href = "https://www.thingiverse.com/thing:4461877" > Thingiverse: STL to OpenSCAD Converter< / a >
2020-06-16 02:42:47 +02:00
< / 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 >
2020-06-16 10:21:17 +02:00
< p id = "conversion" > < / p >
2020-06-16 02:42:47 +02:00
< span id = "result" > < / span >
< div >
< a href = "#" id = "download" class = "button" style = "display: none" > Download< / a >
< / div >
2020-06-16 10:21:17 +02:00
2020-06-16 02:42:47 +02:00
< footer >
2020-06-16 10:21:17 +02:00
< p class = "badge" >
2020-06-16 10:33:50 +02:00
< a href = "https://github.com/raviriley/STL-to-OpenSCAD-Converter" > < img src = "https://gh-card.dev/repos/raviriley/STL-to-OpenSCAD-Converter.svg" style = "width:100%" > < / a >
2020-06-16 10:21:17 +02:00
< 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 >
2020-06-16 02:42:47 +02:00
< / footer >
< script src = "js/main.js" > < / script >
2020-06-16 10:21:17 +02:00
< script async defer src = "https://buttons.github.io/buttons.js" > < / script >
2020-04-28 13:00:09 +02:00
< / body >
< / html >