🚀 Auto-deploy: BrainWind atualizado em 13/07/2026 20:57:51

This commit is contained in:
2026-07-13 20:57:51 +00:00
parent d4e0abe260
commit c184b2211c
4 changed files with 84 additions and 28 deletions
+3 -1
View File
@@ -86,7 +86,9 @@ function PiperackModel({
const zPos = numFrames > 1
? -zOffset + 0.5 + (idx % Math.max(pipes.length, 1)) * (totalSpacing - 1) / Math.max(pipes.length - 1, 1) || 0
: 0;
const yPos = elevation + height/2 + pipe.diameter/2 + (idx % 2 === 0 ? 0 : 0.2);
// elevationOffset varia de 0 (base da estrutura reticulada) a height (topo da estrutura)
// A base da estrutura fica em: rackTop - height, que é elevation - height/2
const yPos = (elevation - height/2) + pipe.elevationOffset + pipe.diameter/2;
const color = pipeColors[idx % pipeColors.length];
return (