This commit is contained in:
John Poole 2026-03-04 17:47:07 -08:00
commit 6a93950678
28 changed files with 482 additions and 106 deletions

View file

@ -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];