feat(check): 받침블럭 콘크리트 최소 높이 W11 (63 mm, 제안)
교각 받침블럭마다 콘크리트 높이(패드 제외)가 0보다 크고 63 mm(피복 50 + D13, 교대 I01과 같은 기준)보다 낮으면 W11 경고를 낸다. 교대는 기존 I01(블럭 철근을 교좌면 아래로)이 같은 경우를 다룬다. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d7a61df7a9
commit
b84288c48a
3 files changed
+24
No files matched your search
@@ -73,4 +73,19 @@ describe('교좌면 EL 입력 (2026-11-03)', () => {
|
||||
validatePier(input, m, issues);
|
||||
expect(issues.filter((i) => i.code === 'W10').map((i) => i.level)).toEqual(['I']);
|
||||
});
|
||||
|
||||
it('W11 when a block is thinner than 63 mm (피복 50 + D13), from its own 교좌면 EL; none for P1', () => {
|
||||
const p1 = withSeat(loadP1(), SEAT);
|
||||
const ok: Issue[] = [];
|
||||
validatePier(p1, buildPier(p1, P1CTX), ok);
|
||||
expect(ok.filter((i) => i.code === 'W11')).toEqual([]);
|
||||
// Bearing 1: z 43.561 − pad 50 − 50 mm block → 교좌면 43.461.
|
||||
const thin = withSeat(loadP1(), [43.461, ...SEAT.slice(1)]);
|
||||
const m = buildPier(thin, P1CTX);
|
||||
const issues: Issue[] = [];
|
||||
validatePier(thin, m, issues);
|
||||
const w = issues.filter((i) => i.code === 'W11');
|
||||
expect(w.length).toBe(1);
|
||||
expect(w[0].message).toContain('받침 1번');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user