Files
Aislo/B04_PreProcess/CLAUDE.md
T
eomsangdonandClaude Opus 5.5 eac37456e2 chore(지침): 342-4 폴더별 CLAUDE.md 넷 — B04_PreProcess · B05_Profile · B06_Section · A00_Common/design
- 갈래 지도 · ① 짝 목록(시험) · 서버 Node 묶음 입구 · 끌려가는 파일 · 남의 페이지가 부르는 파일 · logic/ 규칙 · 금지
- 40줄 안 · 뿌리 CLAUDE.md 안 고침

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013QyNXY2TUKXCFMwAca2APG
2026-10-16 11:16:00 +09:00

36 lines
2.3 KiB
Markdown

# B04_PreProcess 지침
갈래 지도(앞머리 → 하는 일):
- `UI_Map*` 2D 지도(그리기 · 겹침 · 층 · 보기) · `UI_TerrainViewer*` 3D 지형 · 등고선 · `UI_Viewer` · `UI_Camera`
- `UI_Flow*` · `UI_Basins` · `UI_Watershed` 배수 흐름 · 유역 · `UI_RouteSamples` 노선 표본 · `UI_Page` 페이지 · `Api_Fetch` 서버 요청
- `Engine_Filter_*` 지면 필터 · `Engine_Ground` · `Engine_ModelBuild` · `Engine_ModelContext` · `Engine_Smooth` 지표면 모델
- `Engine_Sheet*` · `Engine_MapSheet` 수치지형도 · `Engine_Contour` 등고선 · `Engine_GisVector` · `Engine_VWorld` 국가 GIS
- `Engine_Watershed_*` 배수유역 · `Engine_Pipeline` · `Engine` 전처리 차례 · `Router_*` · `Repository` · `Service` · `Schema`
- `logic/` 순수 계산 TS
① 짝(ts ↔ py · 거울 시험):
- `Router_Basins.py` ford_height_m ↔ `A00_Common/design/design_structure_ford_calc.ts` fordHeightM · `test_65_ford_defaults.py`
- 배수유역 · 지표면 모델 엔진 = 서버 단독(③) · 지형 표본 = `common_util_surface_sampler` 하나
서버 Node 묶음:
- 입구 없음 · `Api_Fetch.ts` 가 `build:b07-extent` 에 끌려감 — 모듈 맨 위에 DOM · window · sessionStorage 금지
남의 페이지가 부르는 파일(고치면 부르는 쪽 시험도):
- ts — `Api_Fetch`(A00 · B05 · B06 · B08 · B11) · `UI_MapRender` · `UI_MapRender_Prepare` · `UI_MapOverlays` · `UI_FlowRamp` · `UI_FlowArrows` · `UI_Camera` · `UI_RouteSamples`(B05) · `UI_Page`(A00)
- py — `Router_Watershed` · `Router_Basins` · `Router_GIS` · `Router` · `Service` · `Repository` · `Engine_Watershed_*` · `Engine_VWorld` · `Engine_Extent` · `Engine_SheetSurface` · `Engine_Structurize`
logic/ 규칙:
- DOM · three · fetch · sessionStorage · window 금지 · 순수 함수만
- 화면 파일이 logic 을 부름 · logic 은 화면 파일을 안 부름(logic · common_util 만)
- 이름 앞머리 그대로(`logic/B04_PreProcess_Xxx.ts`) · 파이썬 짝이면 두 파일 머리에 짝 표시 + 거울 시험
금지:
- 파이썬 파일을 하위 폴더로 옮기지 않음(절대 import · `Engine_GisVector.py` 뿌리 경로)
- 실제 파일 다시 올리기 · 전처리 다시 돌리기로 시험하지 않음 — 서버 함수 시험으로