- 그림 신원표 = 새 common_util_pick_tag(tagShape · pipeTagId) — 관 id 는 화면이 열 때(usePipeIds) 세션 장부를 꽂음 · 안 꽂으면 옛 자리 이름(장부가 프로젝트 모를 때와 같은 값) - 구조물 그림 다섯(Box · Culvert · Ford · Ford_Pavement · Revetment)이 design_pipe_ids · design_pick_match 대신 이것을 씀 - Culvert_Wire 한계 토스트 = 알림 창구(setCulvertNotice) — 화면 Cross_View 가 토스트를 꽂음 · Wire 가 ui_template · Section_Common 안 끔 - 472-3 알려진 끌림 다섯 걷음(b_page_state · pick_match · pipe_ids · selection · Section_Common) · 남은 줄 = 헬퍼 정규식 헛잡음 - 헬퍼 286_1 흉내 → 진짜 pick_tag · 폴더 지침 끌림 줄 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
3.1 KiB
Markdown
41 lines
3.1 KiB
Markdown
# B05_Profile 지침
|
|
|
|
갈래 지도(앞머리 → 하는 일):
|
|
|
|
- `UI_RouteEdit_*` 노선 편집(노드 · 곡선 · 측점 틀 · 등고선 띠) · `Api_Replan` 그 서버 요청
|
|
- `UI_Corridor_*` 3D 길 모형 · `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`) · 끌어감 = `UI_Corridor_*`(Build · Envelope · Frames · Station · Structures) · 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/`) 만들지 않음 — 지움
|