ifcurl/forgejo/custom/public/assets
Bruno Postle c05ed370aa Fix viewer camera offset: disable COORDINATE_TO_ORIGIN in web-ifc
web-ifc's COORDINATE_TO_ORIGIN=true shifts all model geometry so the first
element lands at origin (≈12m shift for simple-ifc). GetCoordinationMatrix
returns identity despite the shift, so engine_fragment can't compensate.
Camera URLs are in IFC world coords (per spec §5), but the model was in
shifted coords, causing the JS viewer and Python renderer to disagree.

Set COORDINATE_TO_ORIGIN: false in ifcLoader.setup() so model geometry
stays in IFC world coords, matching what IfcOpenShell outputs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 12:40:05 +01:00
..
fragments-worker.js viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
ifcurl.js Fix PR diff early return and fetch branch commits on miss 2026-05-16 01:12:15 +01:00
viewer-deps.js forgejo: add @thatopen/components-front, fix click-to-identify and model overview 2026-04-28 00:01:19 +01:00
viewer-url.js Viewer: query field and results table (ifcurl-2iv, ifcurl-4u3) 2026-05-09 11:09:55 +00:00
viewer-util.js forgejo: add JS unit tests, extract pure functions into viewer-util.js 2026-04-27 20:24:58 +01:00
viewer.html Enforce spec: validate query dot notation, improve tooltip 2026-05-09 15:26:07 +00:00
viewer.js Fix viewer camera offset: disable COORDINATE_TO_ORIGIN in web-ifc 2026-05-16 12:40:05 +01:00
web-ifc-mt.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00
web-ifc.wasm viewer: upgrade three/web-ifc/@thatopen to latest — partial CVE fix 2026-04-25 18:59:02 +01:00