feat: 웹 트윈 glTF(.glb) 내보내기 — Bmaps/Cesium 런타임 뷰 - #4
Merged
Conversation
디지털 트윈 통합의 시각화 층(docs/digital_twin_integration.md). 의미·기록은 IFC, 시간축은 VLM 패키지, 여기서는 웹 렌더용 파생 뷰만 만든다. - insar/gltf_export.py: InSAR/PSI H5 → .glb(POSITION+COLOR_0 POINTS) + .meta.json. 정점색=값(velocity diverging·CRI 밴드·cumulative). 의존성 없이 struct/json 으로 glb 직접 기록. 좌표는 pyproj 있으면 EPSG:5186 로컬 ENU, 없으면 등거리 근사 폴백. - .meta.json: **GlobalId 결합 계약**(element_globalid 외래키 슬롯 — --bim-align 이 채우면 시계열↔IFC 부재 영구결합) + georef 원점(뷰어 eastNorthUpToFixedFrame 글로브 배치) + 범례. - CLI: --export-gltf H5,OUT [--gltf-value velocity|cri|cumulative] [--gltf-fram] [--gltf-z-exaggerate] - docs/digital_twin_integration.md: 3층(IFC 의미·시계열 사이드카·런타임 포맷) + GlobalId 결합 설계. IFC 4.3(교량 클래스)·glTF·USD·FBX 역할 정리. 검증: 실 CHYG(20,000점)·동수원 CRI(454점) .glb 생성 → pygltflib 정식 파싱 OK. 테스트 4개 (유효 glTF2 구조·정점색·GlobalId 결합·georef·cri 채널 가드). 코어 venv 579 passed/0 failed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EN8ND36zFNxn8mDhVBSgWe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
목적
디지털 트윈 통합의 시각화 층 프로토타입(Bmaps 웹 트윈 가정). 의미·기록은 IFC(bim_export), 시간축은 VLM 패키지, 여기서는 웹 렌더용 파생 뷰만 만든다.
설계 (docs/digital_twin_integration.md)
"IFC냐 FBX냐"가 아니라 3층 분리 + GlobalId 결합:
변경
insar/gltf_export.py: H5 →.glb(POSITION+COLOR_0 POINTS) +.glb.meta.json.element_globalid결합 슬롯(--bim-align 이 채움) + georef 원점 + 범례.--export-gltf H5,OUT [--gltf-value] [--gltf-fram] [--gltf-z-exaggerate]docs/digital_twin_integration.md: 포맷 전략 설계 노트.검증
.glb생성 → pygltflib 정식 파싱 OK.다음
IFC 4.3 부재 매칭 시 GlobalId 채우기 → glb 사이드카 자동 결합 → Bmaps 웹뷰어(Cesium)에서 라이브 데이터 오버레이.
🤖 Generated with Claude Code