fix: [fire-shutter] ④ D형 개구부 방향 좌측으로 변경 (③과 마주보는 형태)
- ③ C형: 우측(②쪽) 열림 (기존 유지) - ④ D형: 좌측(벽쪽) 열림 (기존 우측→좌측 반전) - 참조 도면 KSS01 기준: ③④ 열린면이 서로 마주봄
This commit is contained in:
@@ -818,23 +818,23 @@ function renderGrCross() {
|
||||
].join('\n');
|
||||
|
||||
// ── ④ D형 (절곡: 11-23-40-23-11, ③ 내부에 중첩) ──
|
||||
// ③ 내부에 배치, C 개구부가 ② 가이드레일쪽(우측)을 향함
|
||||
// 몸체(40) 벽쪽, 사이드(23) 가이드레일 방향, 립(11) 안쪽 절곡
|
||||
// ③과 마주보는 형태: ③은 우측(②쪽)으로 열리고, ④는 좌측(벽쪽)으로 열림
|
||||
// 몸체(40) ②쪽(우측), 사이드(23) 벽 방향(좌측), 립(11) 안쪽 절곡
|
||||
const c4CenterY = c3CenterY;
|
||||
const c4Y = c4CenterY - c4c / 2;
|
||||
const c4BodyX = c3BodyX + t2 + 2; // ③ 몸체 바로 안쪽
|
||||
const c4SideEnd = c4BodyX + t2 + c4b; // 사이드 끝 (본체쪽)
|
||||
const c4BodyX = bx - t2 - 2; // 몸체: ② 백월 바로 좌측 (우측 배치)
|
||||
const c4SideStartX = c4BodyX - c4b; // 사이드 좌측 끝 (벽 방향)
|
||||
const bk4Svg = [
|
||||
// 몸체 (세로 40mm, ③ 안쪽 벽쪽)
|
||||
// 몸체 (세로 40mm, 우측 = ② 백월쪽)
|
||||
`<rect x="${c4BodyX}" y="${c4Y}" width="${t2}" height="${c4c}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 상단 사이드 (23mm, 본체 방향)
|
||||
`<rect x="${c4BodyX+t2}" y="${c4Y}" width="${c4b}" height="${t2}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 상단 사이드 (23mm, 벽 방향 = 좌측)
|
||||
`<rect x="${c4SideStartX}" y="${c4Y}" width="${c4b}" height="${t2}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 하단 사이드
|
||||
`<rect x="${c4BodyX+t2}" y="${c4Y+c4c-t2}" width="${c4b}" height="${t2}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 상단 립 (11mm, 사이드 끝에서 안쪽/중앙으로 절곡)
|
||||
`<rect x="${c4SideEnd-t2}" y="${c4Y+t2}" width="${t2}" height="${c4a}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 하단 립 (11mm, 사이드 끝에서 안쪽/중앙으로 절곡)
|
||||
`<rect x="${c4SideEnd-t2}" y="${c4Y+c4c-t2-c4a}" width="${t2}" height="${c4a}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
`<rect x="${c4SideStartX}" y="${c4Y+c4c-t2}" width="${c4b}" height="${t2}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 상단 립 (11mm, 사이드 좌측 끝에서 안쪽/중앙으로 절곡)
|
||||
`<rect x="${c4SideStartX}" y="${c4Y+t2}" width="${t2}" height="${c4a}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
// 하단 립 (11mm, 사이드 좌측 끝에서 안쪽/중앙으로 절곡)
|
||||
`<rect x="${c4SideStartX}" y="${c4Y+c4c-t2-c4a}" width="${t2}" height="${c4a}" fill="${cBk4}" stroke="${ms}" stroke-width="${mw}" opacity="0.8"/>`,
|
||||
].join('\n');
|
||||
|
||||
// ── ① 마감재 SUS 1.2T × 2장 (② 위 덮씌우기, 절곡: 10-11-110-30-15-15-15, 상하 대칭) ──
|
||||
@@ -922,8 +922,8 @@ function renderGrCross() {
|
||||
dimLines += `<text x="${bx+t2+bSw/2}" y="${by+bOuterW/2+4}" fill="${cBody}" font-size="33" font-weight="900" text-anchor="middle" font-family="Pretendard">②</text>`;
|
||||
// ③ C형: 몸체(45mm) 중심
|
||||
dimLines += `<text x="${c3BodyX+c3Lip/2}" y="${c3CenterY+4}" fill="${cBk3}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">③</text>`;
|
||||
// ④ D형: 몸체(40mm) 중심
|
||||
dimLines += `<text x="${c4BodyX+c4b/2}" y="${c4CenterY+4}" fill="${cBk4}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">④</text>`;
|
||||
// ④ D형: 몸체(40mm) 중심 (좌측 열림, ③과 마주봄)
|
||||
dimLines += `<text x="${c4BodyX-c4b/2}" y="${c4CenterY+4}" fill="${cBk4}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">④</text>`;
|
||||
}
|
||||
|
||||
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${svgW} ${svgH}" style="max-width:100%;max-height:100%;">
|
||||
|
||||
Reference in New Issue
Block a user