safety
This commit is contained in:
parent
ef32268f3c
commit
6a93950678
28 changed files with 482 additions and 106 deletions
14
web/lab.html
14
web/lab.html
|
|
@ -1,8 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- To run, start a local server:
|
||||
python3 -m http.server 8001
|
||||
Then open http://localhost:8001/lab.html in a modern browser.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>RenderLab v1</title>
|
||||
<title>RenderLab: PNG Profile Exporter</title>
|
||||
<style>
|
||||
body { margin:0; background:white; }
|
||||
canvas { display:block; }
|
||||
|
|
@ -54,7 +58,13 @@ scene.add(ambient);
|
|||
let mesh, edgeLines;
|
||||
|
||||
const loader = new GLTFLoader();
|
||||
loader.load('./glb/part.glb', gltf => {
|
||||
|
||||
//
|
||||
// This part is particularly tricky to view, so it makes an excellent test case.
|
||||
//
|
||||
// ./Voron-Stealthburner/STLs/Stealthburner/[o]_stealthburner_LED_carrier.stl.glb
|
||||
//
|
||||
loader.load('[o]_stealthburner_LED_carrier.stl.glb', gltf => {
|
||||
|
||||
mesh = gltf.scene.children[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue