feat: complete BMU assembly — board + 4x switch MOSFET + components
- BMU v2 board (from STEP, 225K verts) - 4x switch MOSFET boards (from STEP, offset positions) - 76 SMD components (Part::Feature from FCStd) - Properly simplified with fast_simplification (560K faces, 8.4MB) - No mesh corruption (proper topology-preserving decimation) - Loading screen forced to 10s minimum Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+9
-15
@@ -811,21 +811,15 @@ const headerItems = [
|
||||
}
|
||||
}, 800);
|
||||
|
||||
// Detect when WebGL canvas appears and has rendered
|
||||
function checkWebGLReady() {
|
||||
const canvas = document.querySelector('canvas');
|
||||
if (canvas && canvas.clientWidth > 0) {
|
||||
if (loadBar) loadBar.style.width = '100%';
|
||||
if (loadStatus) loadStatus.textContent = 'PCB prêt.';
|
||||
clearInterval(loadInterval);
|
||||
setTimeout(() => {
|
||||
loadScreen?.classList.add('loading-done');
|
||||
}, 600);
|
||||
} else {
|
||||
requestAnimationFrame(checkWebGLReady);
|
||||
}
|
||||
}
|
||||
requestAnimationFrame(checkWebGLReady);
|
||||
// Force 10s minimum loading, then fade out
|
||||
setTimeout(() => {
|
||||
if (loadBar) loadBar.style.width = '100%';
|
||||
if (loadStatus) loadStatus.textContent = 'PCB prêt.';
|
||||
clearInterval(loadInterval);
|
||||
setTimeout(() => {
|
||||
loadScreen?.classList.add('loading-done');
|
||||
}, 600);
|
||||
}, 10000);
|
||||
|
||||
// Hero BMU zone smooth scroll
|
||||
document.querySelectorAll('.hero-bmu-zone[href^="#"]').forEach(link => {
|
||||
|
||||
Reference in New Issue
Block a user