diff --git a/app/src/components/AuditPanel.tsx b/app/src/components/AuditPanel.tsx index a5162d9..12511b8 100644 --- a/app/src/components/AuditPanel.tsx +++ b/app/src/components/AuditPanel.tsx @@ -125,7 +125,7 @@ export default function AuditPanel() { -
+
setPermeabilityCase(val as PermeabilityCase)}> + + + + + Duas faces opostas permeáveis + Quatro faces igualmente permeáveis + Abertura dominante — barlavento + Abertura dominante — sotavento + Abertura dominante — lateral + Edificação estanque + + +
+ + {(permeabilityCase === 'dominant-windward' || permeabilityCase === 'dominant-lateral') && ( +
+
+ + {cpiRatio.toFixed(2)} +
+ setCpiRatio(vals[0])} className="py-1 cursor-pointer" /> +

+ Razão entre a área da abertura dominante e a área total das demais aberturas. +

+
+ )} + +
+
+ Cpi calculado: + {cpi.toFixed(2)} +
+

+ Limitado a ±0,9 conforme norma. A pressão final é p = q · (Cpe − Cpi). +

+
+ + + ); +}; diff --git a/app/src/pages/GalpaoModule.tsx b/app/src/pages/GalpaoModule.tsx index 9e8a012..f8d079f 100644 --- a/app/src/pages/GalpaoModule.tsx +++ b/app/src/pages/GalpaoModule.tsx @@ -3,6 +3,7 @@ import Warehouse3DViewer from '../components/Warehouse3D'; import LinearLoadsTable from '../components/LinearLoadsTable'; import SceneCapturePanel from '../components/SceneCapturePanel'; import FtoolExportCard from '../components/FtoolExportCard'; +import { CpiSettingsCard } from '../components/CpiSettingsCard'; import { useGalpaoStore } from '../store/galpaoStore'; import { useWindStore } from '../store/appStore'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; @@ -88,6 +89,8 @@ const GalpaoModule: React.FC = () => {
+ +
{/* Coluna Direita: Viewer 3D */}