From 665b1c948a689cf58d00aa46a65b85f9503f6d24 Mon Sep 17 00:00:00 2001 From: ypshim Date: Mon, 26 Oct 2026 18:04:36 +0900 Subject: [PATCH] =?UTF-8?q?fix(rebar):=20=ED=99=95=EB=8C=80=EA=B8=B0?= =?UTF-8?q?=EC=B4=88=20=EB=8B=A8=EB=A9=B4=20=EC=A0=9C=EB=AA=A9=EA=B3=BC=20?= =?UTF-8?q?=ED=8F=AD=20=EC=B9=98=EC=88=98=20=EA=B8=80=EC=9E=90=20=EA=B2=B9?= =?UTF-8?q?=EC=B9=A8=20=ED=95=B4=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 제목을 그림 위(y 20)로 옮겨 말뚝과 지시선과 겹치지 않게 함 - 양끝 피복은 치수선 바깥쪽에, 격자 여유(e)는 각각 안쪽 끝에 놓아 "16216"처럼 붙던 글자를 분리 - 치수선을 한 줄 내림 (Y0+40) Co-Authored-By: Claude Haiku 5.5 --- src/view/footing-section-svg.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/view/footing-section-svg.ts b/src/view/footing-section-svg.ts index 4f8ecc9..7cae727 100644 --- a/src/view/footing-section-svg.ts +++ b/src/view/footing-section-svg.ts @@ -114,15 +114,16 @@ export function footingSectionSvg(model: PierModel): string { // Dimensions: the width line with ticks and the grid string, and the right-hand heights. const g = grid(W, fs, 'sAxis'); - const yDim = Y0 + 34; + const yDim = Y0 + 40; parts.push(``); parts.push(tick(x(-W / 2), yDim) + tick(x(W / 2), yDim)); - parts.push(text(x(-W / 2) + 4, yDim + 14, `${fs.cSide}`, 'start', COLOR.dim)); - parts.push(text(x(-W / 2 + fs.cSide + g.e / 2), yDim + 14, `${g.e.toFixed(1)}`, 'middle', COLOR.dim)); + // Edge covers sit outside the dimension ends; the grid pieces sit on the first row, spread apart so they do not run together. + parts.push(text(x(-W / 2) - 5, yDim + 14, `${fs.cSide}`, 'end', COLOR.dim)); + parts.push(text(x(W / 2) + 5, yDim + 14, `${fs.cSide}`, 'start', COLOR.dim)); + parts.push(text(x(-W / 2 + fs.cSide) + 2, yDim + 14, `${g.e.toFixed(1)}`, 'start', COLOR.dim)); + parts.push(text(x(W / 2 - fs.cSide) - 2, yDim + 14, `${g.e.toFixed(1)}`, 'end', COLOR.dim)); parts.push(text(cx, yDim + 14, `${g.n}@${fs.sAxis}=${g.G}`, 'middle', COLOR.dim)); - parts.push(text(x(W / 2 - fs.cSide - g.e / 2), yDim + 14, `${g.e.toFixed(1)}`, 'middle', COLOR.dim)); - parts.push(text(x(W / 2) - 4, yDim + 14, `${fs.cSide}`, 'end', COLOR.dim)); - parts.push(text(cx, yDim - 6, `교각축 직각 단면 · 폭 ${W.toFixed(0)}`, 'middle', '#1F2937')); + parts.push(text(cx, 20, `교각축 직각 단면 · 폭 ${W.toFixed(0)}`, 'middle', '#1F2937')); const xr = X0 + W_PX + 18; parts.push(``); parts.push(tick(xr, y(H)) + tick(xr, y(0)));