🚀 Auto-deploy: BrainWind atualizado em 28/07/2026 11:20:52
This commit is contained in:
@@ -183,7 +183,7 @@ export function WarehouseModel() {
|
|||||||
return (
|
return (
|
||||||
<group>
|
<group>
|
||||||
{/* === PAREDES === */}
|
{/* === PAREDES === */}
|
||||||
{showMainWalls && viewMode === 'solid' && (
|
{showMainWalls && (
|
||||||
<group>
|
<group>
|
||||||
{/* Lateral Esquerda (X = -width/2, Parede C) */}
|
{/* Lateral Esquerda (X = -width/2, Parede C) */}
|
||||||
<group position={[-width / 2, height / 2, 0]}>
|
<group position={[-width / 2, height / 2, 0]}>
|
||||||
@@ -634,7 +634,7 @@ export function WarehouseModel() {
|
|||||||
{(viewMode as string) === 'airflow' && <AirflowSystem windAngle={windAngle} width={width} length={length} height={height} permeabilityCase={permeabilityCase} />}
|
{(viewMode as string) === 'airflow' && <AirflowSystem windAngle={windAngle} width={width} length={length} height={height} permeabilityCase={permeabilityCase} />}
|
||||||
|
|
||||||
{/* === RÓTULOS 3D === */}
|
{/* === RÓTULOS 3D === */}
|
||||||
{showMainWalls && (
|
{showMainWalls && viewMode === 'solid' && (
|
||||||
<group>
|
<group>
|
||||||
{/* Rótulo Parede Frontal */}
|
{/* Rótulo Parede Frontal */}
|
||||||
<Text
|
<Text
|
||||||
@@ -703,7 +703,7 @@ export function WarehouseModel() {
|
|||||||
export default function Warehouse3DViewer() {
|
export default function Warehouse3DViewer() {
|
||||||
const theme = useCanvasTheme();
|
const theme = useCanvasTheme();
|
||||||
const isDark = theme === 'dark';
|
const isDark = theme === 'dark';
|
||||||
const { width, length, height, roofPitch, wallCpe, roofCpe } = useGalpaoStore();
|
const { width, length, height, roofPitch, wallCpe, roofCpe, viewMode } = useGalpaoStore();
|
||||||
const { windAngle, cpi } = useWindStore();
|
const { windAngle, cpi } = useWindStore();
|
||||||
|
|
||||||
const fallback = (
|
const fallback = (
|
||||||
@@ -717,6 +717,7 @@ export default function Warehouse3DViewer() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SceneCanvas moduleId="galpao"
|
<SceneCanvas moduleId="galpao"
|
||||||
|
frameloop={viewMode === 'airflow' ? 'always' : 'demand'}
|
||||||
shadows
|
shadows
|
||||||
gl={{ preserveDrawingBuffer: true, antialias: true }}
|
gl={{ preserveDrawingBuffer: true, antialias: true }}
|
||||||
camera={{ position: [width * 1.3, height * 1.5, length * 1.3], fov: 40 }}
|
camera={{ position: [width * 1.3, height * 1.5, length * 1.3], fov: 40 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user