Sprint 33 — IFC4X3 Add2 익스포터 Phase 1 (cimery-ifc 신설)
P2 로드맵 (Gitea #4) 첫 단계. 교량·토목 현재 표준인 IFC4X3 Add2 로 익스포트. ## cimery-ifc 크레이트 구성 - src/guid.rs: IfcGloballyUniqueId 생성. UUIDv4 128비트 → buildingSMART base64 22자 인코딩. - src/writer.rs: STEP Part21 텍스트 writer. IfcWriter(alloc/emit/write/finish), Ref(#N), lit, real, real3, ref_list. HEADER 블록(FILE_DESCRIPTION/FILE_NAME/FILE_SCHEMA='IFC4X3_ADD2') + DATA 블록. - src/bridge_export.rs: 교량 하이레벨 API. BridgeExportParams(span·girder·slab·bearing 치수) + export_bridge() -> String. ## 생성 엔티티 (Phase 1) 계층: IfcProject └ IfcRelAggregates → IfcSite └ IfcRelAggregates → IfcBridge └ IfcRelContainedInSpatialStructure → elements[] 원소: - IFCBEAM × (span_count × girder_count) — 거더 - IFCSLAB × 1 — 데크 슬래브 (전 구간 연속) - IFCCOLUMN × (span_count-1) — 피어 기둥 (내부 지점만) - IFCFOOTING × 2 — 교대 (양 끝) - IFCBEARING × (span_count+1)×girder_count — IFC4X3 신규 엔티티 형상 단순화(Phase 1): - IFCEXTRUDEDAREASOLID + IFCRECTANGLEPROFILEDEF 일률. - Phase 2 에서 IFCARBITRARYCLOSEDPROFILEDEF 로 PSC-I 14점 단면 매핑 예정. 단위: IFCSIUNIT mm (+ radian·squareMetre·cubicMetre·second·kilogram). 배치: IfcLocalPlacement 월드 원점 기준 (선형·skew·camber 는 Phase 2). ## 테스트 10개 통과: - guid: 22자 고정, 동일 UUID 동일 GUID, 문자셋 유효성. - writer: shell 구조, REAL 포맷, ref_list 포맷. - bridge_export: 단경간 핵심 엔티티 포함, 다경간 피어 개수, 거더 수 일치, STEP 구조. ## 통합 - workspace Cargo.toml: crates/ifc 추가. - cimery-app: export_ifc_default IPC 커맨드 (tauri dialog .ifc save). - main.rs invoke_handler 등록. Phase 2 로드맵(후속 스프린트): - IfcAlignment + IfcLinearPlacement (선형 좌표) - 실제 단면 profile (PSC-I · SteelBox) - Pset_BeamCommon·Pset_BearingCommon - IfcPile·IfcExpansionJoint·IfcKerb(방호벽) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
## 타임라인
|
||||
|
||||
### 2026-04-15 (계속)
|
||||
- code — Sprint 33: IFC4X3 Add2 익스포터 Phase 1. `cimery-ifc` 크레이트 신설. STEP Part21 writer(`IfcWriter`, header+data+finish) + IfcGloballyUniqueId 생성(UUIDv4 → base64 22자) + `export_bridge()` API. 엔티티: IfcProject→IfcSite→IfcBridge 계층(IfcRelAggregates 관계) + 거더(IFCBEAM, span_count×girder_count 개) + 데크(IFCSLAB) + 피어(IFCCOLUMN, 내부 지점) + 교대(IFCFOOTING) + 받침(IFCBEARING — IFC4X3 신규 엔티티). 형상: IfcExtrudedAreaSolid + IfcRectangleProfileDef 단순화(Phase 2 에서 실제 단면). 단위: mm. 배치: IfcLocalPlacement 월드 원점 기준. 테스트 10개 통과. `cimery-app`에 `export_ifc_default` IPC 커맨드 추가.
|
||||
- code — Sprint 31~32: 헌치 + UI 재정리.
|
||||
- Sprint 31: 데크 헌치 (Haunch). `SceneParams.haunch_depth` (0~300mm) 추가. 거더 상부와 데크 soffit 사이 600mm 폭 × haunch_d 높이 블록을 거더마다 배치. 데크 위치는 `girder_h + haunch_depth + slab_thickness` 로 이동 (기존 6개 참조 일괄 수정). camber + skew 동시 적용.
|
||||
- Sprint 32: 속성 패널 카테고리 재정리 (누적 11개 슬라이더 섞여 혼잡). 5개 CollapsingHeader 로 분리: 상부구조·바닥판·선형/기하·하부구조·추가부재·표시. `ps!($ui, ...)` 매크로 hygiene 수정(ui 명시적 매개변수화).
|
||||
|
||||
Reference in New Issue
Block a user