fix: [fire-shutter] 가이드레일 원숫자 위치를 참조 도면 기준으로 수정
- ① 마감재: 도면 상단→우측 랩/플랜지 영역(상하 2개, 참조 도면 동일) - ③ C형: 위쪽 치우침→몸체(45mm) 수직 중심 - ④ D형: 아래쪽 치우침→몸체(40mm) 수직 중심
This commit is contained in:
@@ -914,11 +914,16 @@ function renderGrCross() {
|
||||
dimLines += `<text x="${(swEndX+lipEndX)/2}" y="${by+bFl+14}" fill="${cBody}" font-size="8" font-weight="700" text-anchor="middle" font-family="Pretendard">②립${g.lip}</text>`;
|
||||
// 두께 (하단, 120mm 치수선 아래)
|
||||
dimLines += `<text x="${(totalLeft+totalRight)/2}" y="${by+bOuterW+68}" fill="#94a3b8" font-size="8" font-weight="700" text-anchor="middle" font-family="Pretendard">①t=${g.trimThick||1.2}(SUS) ②t=${g.thickness}(EGI)</text>`;
|
||||
// 부재 번호 라벨 (겹치지 않게 배치)
|
||||
dimLines += `<text x="${trimL1+m1c/2}" y="${tTop-6}" fill="${cTrim}" font-size="33" font-weight="900" text-anchor="middle" font-family="Pretendard">①</text>`;
|
||||
// 부재 번호 라벨 (참조 도면 기준 배치)
|
||||
// ① 마감재: 우측 랩/플랜지 영역 (상단, 하단 각 1개)
|
||||
dimLines += `<text x="${(lipEndX+wrapX)/2}" y="${by+bFl/2+4}" fill="${cTrim}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">①</text>`;
|
||||
dimLines += `<text x="${(lipEndX+wrapX)/2}" y="${by+bOuterW-bFl/2+4}" fill="${cTrim}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">①</text>`;
|
||||
// ② 가이드레일: 채널 내부 중앙
|
||||
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>`;
|
||||
dimLines += `<text x="${c3BodyX+c3Lip/2}" y="${c3CenterY-20}" fill="${cBk3}" font-size="27" font-weight="900" text-anchor="middle" font-family="Pretendard">③</text>`;
|
||||
dimLines += `<text x="${c4BodyX+c4b/2}" y="${c4CenterY+20}" fill="${cBk4}" font-size="27" 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>`;
|
||||
}
|
||||
|
||||
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