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:
2020-06-19 19:50:31 +02:00
< 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 >