Files
Aislo/B05_Profile/CLAUDE.md
T
eomsangdonandClaude Opus 5.5 09a064da37 refactor(472-3 B05 코리도): 코리도 계산 8 파일 logic 이동 · 검사 도구 헛잡음 걷음
- B05 Corridor Build · Envelope · Station · Station_Structure · Structures · _Box · _Chute · _Path
  → B05_Profile/logic/B05_Profile_Corridor_*.ts (본문 그대로 · import 경로만)
- Structures 재수출 줄 걷음(700 줄 한도) · Envelope 는 Structures_Hash 를 바로 부름
- helper_472_3_graph = 줄 머리 import · export 만 셈(주석 속 낱말 안 셈)
- test_472_3 SESSION_PULLS 헛잡음 6 줄 · GEOMETRY_PULLS B05 8 줄 걷음
  (남은 ui_template_locale 10 = Route_Carry_Patch → common_util_svg 진짜 끌림)
- 옮긴 파일을 읽는 시험 · 헬퍼 경로 새 자리로

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:08:29 +09:00

41 lines
3.1 KiB
Markdown

# B05_Profile 지침
갈래 지도(앞머리 → 하는 일):
- `UI_RouteEdit_*` 노선 편집(노드 · 곡선 · 측점 틀 · 등고선 띠) · `Api_Replan` 그 서버 요청
- `UI_Corridor_*` 3D 길 모형 · `logic/Corridor_*` 그 계산 · `UI_Viewer*` 3D 화면
- `UI_Profile_*` 종단도(계획선 · 끌기 · 표 · 유토곡선) · `UI_Structures_*` · `Structures_*.py` 구조물
- `UI_Drainage_*` 배수유역 칸 · 관 · 시설 · `UI_Page_*` · `UI_Panel_*` 페이지 틀 · 좌측 칸 · `Api_*` 서버 요청
- `Engine_Grade*` 종단 계획선 · `Engine_Sections*` 측점 · 종횡단 생성 · `Engine_RouteInitial*` 노선 추천 · `Engine_AsPlanned` 노선 그대로 · `Router_*` API
- `logic/` 순수 계산 TS
① 짝(ts ↔ py · 거울 시험):
- `logic/UI_RouteEdit_Curve.ts` ↔ `common_util_route_polyline.py` · `test_route_polyline_browser_mirror.py`
- `logic/UI_RouteEdit_Frame.ts` ↔ `Engine_Sections_Core.py`(측점 틀 · 스냅) · `test_b05_routeedit_frame_mirror.py` · `test_224_2_station_snap.py`
- `UI_Drainage_Facility.ts` carryIndices ↔ `common_util_drainage_pipes.py` · `test_b05_facility_carry.py`
- `logic/B05_Profile_PlanFootprint.ts` ↔ `B07_DesignDetail_Engine_Cad_PlanSlope.py` · `test_346_2_plan_footprint_mirror.py`
- 지형 표본 = `common_util_surface_sampler.build_surface_sampler` 하나 · 2 m 비용면은 노선 추천 점수만
서버 Node 묶음:
- 입구 `B05_Profile_Corridor_Node.ts`(package.json `build:corridor`) · 끌어감 = `logic/Corridor_*`(Build · Envelope · Station · Structures) · `logic/UI_Corridor_Frames` · B06 `UI_Cross_*` 구조물(화면 · 세션 안 끔 · `test_472_3_calc_registry.py`)
- `build:b07-extent` · `build:b07-note` 가 `Api_Structures` · `Api_Pipes_Draft` · `UI_Structures_Balloon` · `UI_Structures_Define` 를 끌어감
- 묶음이 끄는 TS 를 고치면 그 build 다시 지어 시험 · 그 파일 모듈 맨 위에 DOM · window · sessionStorage 금지
남의 페이지가 부르는 파일(고치면 부르는 쪽 시험도):
- ts — `Api_Fetch` · `Api_Structures` · `Api_Pipes_Draft`(B06 · B07 · B08) · `UI_Structures_Balloon` · `_Define` · `_Fields` · `_Snap` · `_Panel_Types`(B06 · B07 · M02) · `UI_Profile_Alignment` · `_Edit` · `_Data` · `_Structures` · `UI_Drainage_Ford_Fill` · `_Facility_Merge` · `_Facility_Fields` · `UI_IrregularStations`(B06 · M02) · A00 design 이 부르는 `UI_Page_*` · `UI_Profile_*`
- py — `Structures_Schema` · `Structures_Repository` · `Engine_Sections` · `Engine_Sections_Core` · `Repository` · `Router_Confirm` · `Engine_Grade*` · `Router_RouteInitial`
logic/ 규칙:
- DOM · three · fetch · sessionStorage · window 금지 · 순수 함수만
- 화면 파일이 logic 을 부름 · logic 은 화면 파일을 안 부름(logic · common_util 만)
- 이름 앞머리 그대로(`logic/B05_Profile_Xxx.ts`) · 파이썬 짝이면 두 파일 머리에 짝 표시 + 거울 시험
금지:
- 파이썬 파일을 하위 폴더로 옮기지 않음(절대 import · `Corridor_Prebuild.py` 뿌리 경로 `parents[1]`)
- 묶음 입구 파일 옮기지 않음 · 보관 폴더(`Old/`) 만들지 않음 — 지움