correcao de texto - girando

This commit is contained in:
2026-07-28 20:44:36 +00:00
parent dff84c78ba
commit 6141b9a41c
+4 -30
View File
@@ -401,20 +401,7 @@ export function WarehouseModel() {
<meshStandardMaterial color="#0f172a" roughness={0.5} transparent={(viewMode as string) === 'airflow'} opacity={(viewMode as string) === 'airflow' ? 0.35 : 1} /> <meshStandardMaterial color="#0f172a" roughness={0.5} transparent={(viewMode as string) === 'airflow'} opacity={(viewMode as string) === 'airflow' ? 0.35 : 1} />
</mesh> </mesh>
{/* Rótulo e Título da Água */}
<Text
position={[0, 0.95, 0]}
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
fontSize={titleFontSize}
color="#000000"
outlineWidth={0.04}
outlineColor="#ffffff"
fontWeight={700}
anchorX="center"
anchorY="middle"
>
{isParallel ? 'Telhado (Zonas E/F/G/H)' : 'Água Barlavento (Zonas E, F, J)'}
</Text>
{/* Marcações Individuais das Zonas */} {/* Marcações Individuais das Zonas */}
<Text <Text
@@ -471,7 +458,7 @@ export function WarehouseModel() {
</Text> </Text>
<Text <Text
position={[-widthSlope * 0.38, 0.35, 0]} position={[-widthSlope * 0.38, 0.35, 0]}
rotation={[-Math.PI / 2, 0, Math.PI]} rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
fontSize={zoneFontSize} fontSize={zoneFontSize}
color="#000000" color="#000000"
outlineWidth={0.035} outlineWidth={0.035}
@@ -532,20 +519,7 @@ export function WarehouseModel() {
<meshStandardMaterial color="#0f172a" roughness={0.5} transparent={(viewMode as string) === 'airflow'} opacity={(viewMode as string) === 'airflow' ? 0.35 : 1} /> <meshStandardMaterial color="#0f172a" roughness={0.5} transparent={(viewMode as string) === 'airflow'} opacity={(viewMode as string) === 'airflow' ? 0.35 : 1} />
</mesh> </mesh>
{/* Rótulo e Título da Água */}
<Text
position={[0, 0.95, 0]}
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
fontSize={titleFontSize}
color="#000000"
outlineWidth={0.04}
outlineColor="#ffffff"
fontWeight={700}
anchorX="center"
anchorY="middle"
>
{isParallel ? 'Telhado (Zonas E/F/G/H)' : 'Água Sotavento (Zonas G, H, I)'}
</Text>
{/* Marcações Individuais das Zonas */} {/* Marcações Individuais das Zonas */}
<Text <Text
@@ -602,7 +576,7 @@ export function WarehouseModel() {
</Text> </Text>
<Text <Text
position={[widthSlope * 0.38, 0.35, 0]} position={[widthSlope * 0.38, 0.35, 0]}
rotation={[-Math.PI / 2, 0, Math.PI]} rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
fontSize={zoneFontSize} fontSize={zoneFontSize}
color="#000000" color="#000000"
outlineWidth={0.035} outlineWidth={0.035}