2023-03-24 01:58:25 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
2024-07-16 22:57:41 +02:00
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< title > OpenSCAD Playground< / title >
< meta name = "description" content = "OpenSCAD Playground: edit .scad models and render them to STL from the browser (WebAssembly build OpenSCAD, with Monaco editor and STL Viewer)" >
< link rel = "icon" href = "favicon.ico" >
< link rel = "apple-touch-icon" href = "logo192.png" >
<!-- https://developers.google.com/web/fundamentals/web - app - manifest/ -->
< link rel = "manifest" href = "manifest.json" >
< meta name = "theme-color" content = "#000000" >
2023-03-24 01:58:25 +00:00
2023-03-27 16:44:03 +01:00
< link rel = "prefetch" href = "openscad.wasm" >
< link rel = "prefetch" href = "openscad-worker.js" >
< link rel = "prefetch" href = "libraries/fonts.zip" >
2024-07-16 22:57:41 +02:00
2023-03-27 16:44:03 +01:00
< link rel = "prefetch" href = "libraries/MCAD.zip" >
< link rel = "prefetch" href = "libraries/BOSL2.zip" >
< link rel = "prefetch" href = "libraries/BOSL.zip" >
< link rel = "prefetch" href = "libraries/NopSCADlib.zip" >
< link rel = "prefetch" href = "libraries/FunctionalOpenSCAD.zip" >
< link rel = "prefetch" href = "libraries/funcutils.zip" >
< link rel = "prefetch" href = "libraries/smooth-prim.zip" >
< link rel = "prefetch" href = "libraries/closepoints.zip" >
< link rel = "prefetch" href = "libraries/plot-function.zip" >
< link rel = "prefetch" href = "libraries/YAPP_Box.zip" >
< link rel = "prefetch" href = "libraries/Stemfie_OpenSCAD.zip" >
< link rel = "prefetch" href = "libraries/UB.scad.zip" >
< link rel = "prefetch" href = "libraries/openscad-tray.zip" >
2024-07-16 22:57:41 +02:00
2024-10-23 14:41:43 +01:00
<!-- <script type="module" src="https://ajax.googleapis.com/ajax/libs/model - viewer/3.5.0/model - viewer.min.js" defer></script> -->
< script type = "module" src = "./model-viewer.min.js" defer > < / script >
2023-03-25 15:23:54 +00:00
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/BrowserFS/2.0.0/browserfs.min.js" defer></script> -->
2023-03-25 19:30:34 +00:00
< script src = "./browserfs.min.js" defer > < / script >
2023-03-25 15:23:54 +00:00
2023-03-25 19:30:34 +00:00
< script src = "./index.js" defer > < / script >
2024-07-16 22:57:41 +02:00
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" >
2023-03-24 01:58:25 +00:00
2023-03-25 15:23:54 +00:00
< style >
#root,
2023-03-27 20:01:24 +01:00
body,
html {
2023-03-25 15:23:54 +00:00
display: flex;
flex-direction: column;
flex: 1;
margin: 0;
2023-03-27 20:01:24 +01:00
height: 100vh;
height: var(--app-height);
2023-03-25 15:23:54 +00:00
}
2023-03-26 07:48:04 +01:00
.p-tabmenu-nav {
justify-content: center;
}
2024-07-08 02:53:28 +01:00
.p-fieldset .p-fieldset-content {
padding: 0 !important;
}
.p-fieldset-legend {
background-color: rgba(255,255,255,0.4) !important;
}
.p-fieldset-legend,
2024-07-16 22:57:41 +02:00
.p-fieldset-content {
2024-07-08 02:53:28 +01:00
padding-top: 0 !important;
padding-bottom: 0 !important;
}
2023-03-26 07:48:04 +01:00
.absolute-fill {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
2024-07-08 02:54:13 +01:00
.monaco-editor,
.openscad-editor {
2023-03-26 07:48:04 +01:00
background-color: rgba(255,255,255,0.5) !important;
}
2024-07-08 02:54:13 +01:00
textarea.openscad-editor {
font-family: "Droid Sans Mono", "monospace", monospace;
font-weight: normal;
font-size: 16px;
font-feature-settings: "liga" 0, "calt" 0;
line-height: 22px;
letter-spacing: 0px;
}
2023-03-26 07:48:04 +01:00
.overflow-guard,
.monaco-scrollable-element,
.monaco-editor-background {
background-color: transparent !important;
}
.opacity-animated {
transition: opacity 0.5s ease-in-out;
}
.opacity-0 {
opacity: 0;
}
@media only screen and (max-height: 600px),
only screen and (max-width: 600px),
only screen and (max-width: 767px),
only screen and (max-aspect-ratio: 1/2) {
.github-fork-ribbon {
display: none;
}
}
2023-03-27 16:56:26 +01:00
.p-tabmenu-nav {
padding-right: 30px;
}
2024-07-16 22:57:41 +02:00
.github-fork-ribbon:before { background-color: #333; }
2023-03-25 15:23:54 +00:00
< / style >
2024-07-16 22:57:41 +02:00
< / head >
< body >
2024-07-08 02:45:23 +01:00
< audio id = "complete-sound" >
2024-07-16 22:57:41 +02:00
< source src = "complete.wav" type = "audio/wav" >
2024-07-08 02:45:23 +01:00
Your browser does not support the audio element.
< / audio >
2023-03-25 15:56:21 +00:00
< a target = "_blank" class = "github-fork-ribbon"
2023-03-27 19:41:43 +01:00
href="https://github.com/openscad/openscad-playground"
2023-03-25 15:56:21 +00:00
data-ribbon="Fork me on GitHub"
title="Fork me on GitHub">
Fork me on GitHub
< / a >
2023-03-24 01:58:25 +00:00
< noscript > You need to enable JavaScript to run the OpenSCAD Playground.< / noscript >
< div id = "root" > < / div >
< / body >
< / html >