fix(rebar): 확대기초 단면 제목과 폭 치수 글자 겹침 해소
- 제목을 그림 위(y 20)로 옮겨 말뚝과 지시선과 겹치지 않게 함 - 양끝 피복은 치수선 바깥쪽에, 격자 여유(e)는 각각 안쪽 끝에 놓아 "16216"처럼 붙던 글자를 분리 - 치수선을 한 줄 내림 (Y0+40) Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6c7a7ff781
commit
665b1c948a
1 file changed
+7
-6
@@ -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(`<line x1="${x(-W / 2).toFixed(1)}" x2="${x(W / 2).toFixed(1)}" y1="${yDim}" y2="${yDim}" stroke="${COLOR.dim}" stroke-width="0.8"/>`);
|
||||
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(`<line x1="${xr}" x2="${xr}" y1="${y(H).toFixed(1)}" y2="${y(0).toFixed(1)}" stroke="${COLOR.dim}" stroke-width="0.8"/>`);
|
||||
parts.push(tick(xr, y(H)) + tick(xr, y(0)));
|
||||
|
||||
Reference in new issue
Block a user