🚀 Auto-deploy: TrackSteelAPP atualizado em 20/09/2026 01:22:57
This commit is contained in:
Generated
+5
-4
@@ -58,7 +58,7 @@
|
|||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"three": "^0.186.0",
|
"three": "^0.186.0",
|
||||||
"three-stdlib": "^2.36.1",
|
"three-stdlib": "^2.36.1",
|
||||||
"web-ifc": "0.0.57",
|
"web-ifc": "^0.0.74",
|
||||||
"xlsx": "^0.18.5",
|
"xlsx": "^0.18.5",
|
||||||
"zod": "^3.25.76"
|
"zod": "^3.25.76"
|
||||||
},
|
},
|
||||||
@@ -7188,9 +7188,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/web-ifc": {
|
"node_modules/web-ifc": {
|
||||||
"version": "0.0.57",
|
"version": "0.0.74",
|
||||||
"resolved": "https://registry.npmjs.org/web-ifc/-/web-ifc-0.0.57.tgz",
|
"resolved": "https://registry.npmjs.org/web-ifc/-/web-ifc-0.0.74.tgz",
|
||||||
"integrity": "sha512-ozzfxiCNT4+VqIhm93QdTozOmkMSPRZzf1RoRMMQIQLqoidYdExnAmY1OLoq1emnbvHPqFNQJ5HnQoqxvYZeFA=="
|
"integrity": "sha512-WFVxKrt81koT0mA1I5gVChc9/xsnqGZ1KzVxLhy+h43cs6z2hy8tuTtXuA/BPVUkzEzWn+EwNOozF+HHo6G6RA==",
|
||||||
|
"license": "MPL-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/which": {
|
"node_modules/which": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@
|
|||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"three": "^0.186.0",
|
"three": "^0.186.0",
|
||||||
"three-stdlib": "^2.36.1",
|
"three-stdlib": "^2.36.1",
|
||||||
"web-ifc": "0.0.57",
|
"web-ifc": "^0.0.74",
|
||||||
"xlsx": "^0.18.5",
|
"xlsx": "^0.18.5",
|
||||||
"zod": "^3.25.76"
|
"zod": "^3.25.76"
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -75,7 +75,7 @@ export async function loadAndAuditIFC(
|
|||||||
if (onProgress) onProgress(10, 'Carregando motor Web-IFC (WASM)...');
|
if (onProgress) onProgress(10, 'Carregando motor Web-IFC (WASM)...');
|
||||||
|
|
||||||
const LOCAL_WASM_PATH = '/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++
|
// Intercepta logs do console temporariamente para filtrar avisos internos da engine C++
|
||||||
const originalConsoleError = console.error;
|
const originalConsoleError = console.error;
|
||||||
@@ -132,7 +132,9 @@ export async function loadAndAuditIFC(
|
|||||||
|
|
||||||
// 3. Open Model
|
// 3. Open Model
|
||||||
if (onProgress) onProgress(40, 'Decodificando entidades IFC...');
|
if (onProgress) onProgress(40, 'Decodificando entidades IFC...');
|
||||||
const modelID = ifcApi.OpenModel(data);
|
const modelID = ifcApi.OpenModel(data, {
|
||||||
|
COORDINATE_TO_ORIGIN: true
|
||||||
|
});
|
||||||
if (modelID < 0) {
|
if (modelID < 0) {
|
||||||
throw new Error('Falha ao decodificar a estrutura do arquivo IFC.');
|
throw new Error('Falha ao decodificar a estrutura do arquivo IFC.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user