- 09-19 정리로 old/·ref 에 섞여 들어간 B05·B06 전용 표 둘을 resources/data_masonry/ 로 복귀 (masonry_slope·revetment_sabang, 옛 이름 그대로) - B06_Section_UI_Cross_Lean.ts·B05_Profile_UI_Drainage_Facility_Fields.ts import 경로 두 줄 고침 - common_util_node_bundle.py 감시 경로도 새 자리로 - 죽은 시험 둘(test_b06_wall_lean_table·test_b05_revetment_sabang_basis) old_code 에서 되살림 — 끊긴 B08 파이썬 대조 부분은 빼고 B05·B06 몫만 다시 돌게 함 · 5개 통과 - 나머지 넷(공종 마스터 2·공종 산림건설 연결·공종 자원별칭)은 이번에 안 건드림 — old_code 전용이라 걸림 없음 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JgUhN55Z3BCYhUJTjwTNfj
19 lines
1.2 KiB
TypeScript
19 lines
1.2 KiB
TypeScript
/* =============================================================================
|
|
* B06_Section_UI_Cross_Lean.ts
|
|
* 횡단도 벽 전면 기울기 — 품셈 13-4-4 [주]⑪ 표준경사 표(`resources/data_masonry/masonry_slope_*`)를
|
|
* 읽는 자리 하나(2026-09-14 B5 · B08 과 한 벌). 표 읽기 식은 `common_util_masonry_slope.ts`(파이썬 짝).
|
|
*
|
|
* 따로 뗀 까닭 — 표(JSON)를 가져오는 모듈을 상수 파일에 두면 그 상수를 쓰는 기하 조각을 Node 로
|
|
* 단독 컴파일해 돌리는 시험들이 표 경로를 못 찾아 깨짐. 기하 조각은 기울기를 **값으로 받고**,
|
|
* 표를 읽는 것은 이 파일을 부르는 층(배관 세트·독립·C군 벽 배치)만.
|
|
* ⚠ 파일 판이 바뀌면 이 import 도 옮길 것 — 시험 `test_b06_wall_lean_table` 이 최신 판을 대조.
|
|
* ========================================================================== */
|
|
|
|
import { type WallLeanInput, wallLeanRatio } from "../common_util/common_util_masonry_slope";
|
|
import masonrySlope from "../resources/data_masonry/masonry_slope_2026-01-01.json";
|
|
|
|
/** 벽 전면 기울기 n — 표를 못 고르면 종전 0.3. */
|
|
export function leanOf(input: WallLeanInput): number {
|
|
return wallLeanRatio(masonrySlope, input);
|
|
}
|