feat(abut): 날개벽 측면 삽도에 흉벽 · 브라켓 단차 · 저판을 함께 그리고 교대 삽도 EL 표기를 EL.xx.xxx로 통일
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
886347471e
commit
41b3165543
7 files changed
+83
-36
No files matched your search
@@ -51,14 +51,20 @@ describe('날개벽 삽도 (시안 ② 날개벽 카드)', () => {
|
||||
expect(svg.match(/<polygon /g)).toHaveLength(4); // slab, wall, two wings
|
||||
});
|
||||
|
||||
it('측면: the bands, the length, the end height and the 뒷굽 끝', () => {
|
||||
it('측면: the bands, the length, the end height, the 뒷굽 끝, and the 벽체 · 흉벽 · 브라켓 · 저판 with EL. labels', () => {
|
||||
const { members, wings } = build();
|
||||
const w = wings[0];
|
||||
const svg = abutWingSideSvg({
|
||||
name: '좌 날개벽', form: w.form, lengthM: w.lengthM, endHeightM: w.endHeightM, heelDistanceM: w.heelDistanceM,
|
||||
topLine: w.topLine, bottomLine: w.bottomLine, bands: w.bands, seatEl: rec.seatEl, footingTopEl: members.footingTopEl,
|
||||
parapetTopEl: w.topStartEl, bracketHeightM: members.shape.bracketHeightM, wallBackM: members.shape.wallBackM,
|
||||
parapetBackM: members.shape.parapetBackM, wallFrontM: members.shape.wallFrontM, footingFrontM: members.shape.footingFrontM,
|
||||
footingBackM: members.shape.footingBackM, footingThicknessM: members.shape.footingThicknessM,
|
||||
});
|
||||
for (const s of ['6500 (교좌면 끝에서, 날개벽 축 방향)', '1500', '등단면', '변화단면1', '변화단면2', '뒷굽 끝 1.807 m', '교좌면 44.367']) expect(svg).toContain(s);
|
||||
for (const s of ['6500 (교좌면 끝에서, 날개벽 축 방향)', '1500', '등단면', '변화단면1', '변화단면2', '뒷굽 끝 1.807 m', '교좌면 EL.44.367', 'EL.41.995', '기초 하단 EL.40.895']) expect(svg).toContain(s);
|
||||
expect(svg).toMatch(/흉벽 상단 EL\.4[67]\.\d{3}/);
|
||||
expect(svg).toMatch(/브라켓 상면 EL\.4[56]\.\d{3}/);
|
||||
expect(svg.match(/<polygon /g)).toHaveLength(5); // wing, 저판, 벽체, 브라켓 단차, 흉벽
|
||||
});
|
||||
|
||||
it('모서리: haunch, bracket, slab chamfer and gaps from the inputs', () => {
|
||||
|
||||
Reference in new issue
Block a user