🚀 Auto-deploy: TrackSteelAPP atualizado em 20/09/2026 01:22:57

This commit is contained in:
2026-09-20 01:22:57 +00:00
parent c1db5c5fd1
commit 3bbfdcc943
6 changed files with 10 additions and 7 deletions
+5 -4
View File
@@ -58,7 +58,7 @@
"tailwindcss-animate": "^1.0.7",
"three": "^0.186.0",
"three-stdlib": "^2.36.1",
"web-ifc": "0.0.57",
"web-ifc": "^0.0.74",
"xlsx": "^0.18.5",
"zod": "^3.25.76"
},
@@ -7188,9 +7188,10 @@
}
},
"node_modules/web-ifc": {
"version": "0.0.57",
"resolved": "https://registry.npmjs.org/web-ifc/-/web-ifc-0.0.57.tgz",
"integrity": "sha512-ozzfxiCNT4+VqIhm93QdTozOmkMSPRZzf1RoRMMQIQLqoidYdExnAmY1OLoq1emnbvHPqFNQJ5HnQoqxvYZeFA=="
"version": "0.0.74",
"resolved": "https://registry.npmjs.org/web-ifc/-/web-ifc-0.0.74.tgz",
"integrity": "sha512-WFVxKrt81koT0mA1I5gVChc9/xsnqGZ1KzVxLhy+h43cs6z2hy8tuTtXuA/BPVUkzEzWn+EwNOozF+HHo6G6RA==",
"license": "MPL-2.0"
},
"node_modules/which": {
"version": "2.0.2",
+1 -1
View File
@@ -61,7 +61,7 @@
"tailwindcss-animate": "^1.0.7",
"three": "^0.186.0",
"three-stdlib": "^2.36.1",
"web-ifc": "0.0.57",
"web-ifc": "^0.0.74",
"xlsx": "^0.18.5",
"zod": "^3.25.76"
},
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -2
View File
@@ -75,7 +75,7 @@ export async function loadAndAuditIFC(
if (onProgress) onProgress(10, 'Carregando motor Web-IFC (WASM)...');
const LOCAL_WASM_PATH = '/wasm/';
const CDN_WASM_PATH = 'https://unpkg.com/web-ifc@0.0.57/';
const CDN_WASM_PATH = 'https://unpkg.com/web-ifc@0.0.74/';
// Intercepta logs do console temporariamente para filtrar avisos internos da engine C++
const originalConsoleError = console.error;
@@ -132,7 +132,9 @@ export async function loadAndAuditIFC(
// 3. Open Model
if (onProgress) onProgress(40, 'Decodificando entidades IFC...');
const modelID = ifcApi.OpenModel(data);
const modelID = ifcApi.OpenModel(data, {
COORDINATE_TO_ORIGIN: true
});
if (modelID < 0) {
throw new Error('Falha ao decodificar a estrutura do arquivo IFC.');
}