feat(abut): 교대 형상·입력 패널과 교각 받침·솔플레이트 개편
- 교대 형상(src/core/abut, 3D 장면, 목록·카메라·맞춤)과 교대 입력 패널 추가 - 교각 받침 기준 카드 제거, 솔플레이트 규칙을 교각별 입력으로 변경 - 받침 ELEVATION·솔플레이트 TABLE을 모델값으로 연결 - 교대 입력값 카드: 형식 행에 시점·종점 표시, 제목을 "A1 입력값 [입력]"으로 변경 - 테스트 614건 통과, 타입 검사 통과 Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b1b2ad1ddb
commit
1d31d2f3a9
44 files changed
+2571
-120
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { buildPier } from '../src/core/geometry';
|
||||
import { elevationRows, solplateRows } from '../src/core/bearing-table';
|
||||
import { elevationRows, pairCopingSpans, solplateRows } from '../src/core/bearing-table';
|
||||
import { loadP1 } from './helpers';
|
||||
|
||||
const model = buildPier(loadP1());
|
||||
@@ -55,3 +55,19 @@ describe('솔플레이트 TABLE (모델값, 2026-11-03)', () => {
|
||||
expect(rows[0].checkRhs).toBeCloseTo(5, 9);
|
||||
});
|
||||
});
|
||||
|
||||
describe('S1·S2 코핑 치수 (2026-11-03)', () => {
|
||||
it('S1 + S2 + S1 = the coping width B (3100); S1 is bearing centre to the coping edge', () => {
|
||||
const s = pairCopingSpans(model, 0)!;
|
||||
expect(s.copingWidth).toBe(3100);
|
||||
expect(s.S1Low + s.S2 + s.S1High).toBe(3100);
|
||||
// Pair 1 · 6 (P1): the 후열 sits at n −0.600 (low side), the 전열 at n +0.698 (high side). S1 low 950 (후열), S2 1298, S1 high 852 (전열).
|
||||
expect(s.S1Low).toBe(950);
|
||||
expect(s.S2).toBe(1298);
|
||||
expect(s.S1High).toBe(852);
|
||||
});
|
||||
|
||||
it('an unknown pair gives null', () => {
|
||||
expect(pairCopingSpans(model, 99)).toBeNull();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user