fix(view): footing labels read at about 11 px (0.5 m in the 22 px/m drawing)
The dimension labels were 0.28 m, about 6 px on screen. They are 0.5 m now, so the mm values can be read. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0a4ce57ad
commit
f76bfc9d5a
1 file changed
+4
-4
@@ -44,8 +44,8 @@ export function footingPlanSvg(model: PierModel): string {
|
||||
parts.push(`<circle cx="${c.s}" cy="0" r="${c.diameter / 2}" fill="none" stroke="#0f5c66" stroke-width="0.03" stroke-dasharray="0.1 0.06"/>`);
|
||||
}
|
||||
parts.push(`<line x1="${x0}" y1="0" x2="${x0 + w}" y2="0" stroke="#b4531f" stroke-width="0.02" stroke-dasharray="0.3 0.1 0.05 0.1"/>`);
|
||||
parts.push(`<text x="${f.s}" y="${-f.width / 2 - 0.35}" font-size="0.28" text-anchor="middle">${mm(f.length)}</text>`);
|
||||
parts.push(`<text x="${f.s + f.length / 2 + 0.35}" y="0" font-size="0.28" text-anchor="start">${mm(f.width)}</text>`);
|
||||
parts.push(`<text x="${f.s}" y="${-f.width / 2 - 0.35}" font-size="0.5" text-anchor="middle">${mm(f.length)}</text>`);
|
||||
parts.push(`<text x="${f.s + f.length / 2 + 0.35}" y="0" font-size="0.5" text-anchor="start">${mm(f.width)}</text>`);
|
||||
return svgOf(x0, y0, w, h, '확대기초·말뚝 평면', parts.join(''));
|
||||
}
|
||||
|
||||
@@ -81,9 +81,9 @@ export function footingSideSvg(model: PierModel): string {
|
||||
// Break mark across the pile group, in the lower stub (the pile label sits below it).
|
||||
parts.push(breakMark(f.s, -(botEl + 0.6), f.length / 2));
|
||||
}
|
||||
parts.push(`<text x="${f.s + f.length / 2 + 0.35}" y="${-(f.top + f.bottom) / 2}" font-size="0.28" text-anchor="start">h1 ${mm(f.top - f.bottom)}</text>`);
|
||||
parts.push(`<text x="${f.s + f.length / 2 + 0.35}" y="${-(f.top + f.bottom) / 2}" font-size="0.5" text-anchor="start">h1 ${mm(f.top - f.bottom)}</text>`);
|
||||
if (piles.length) {
|
||||
parts.push(`<text x="${f.s}" y="${-(botEl + 1.3)}" font-size="0.28" text-anchor="middle">말뚝 ${mm(pileLen)} (끊음)</text>`);
|
||||
parts.push(`<text x="${f.s}" y="${-(botEl + 1.3)}" font-size="0.5" text-anchor="middle">말뚝 ${mm(pileLen)} (끊음)</text>`);
|
||||
}
|
||||
void pileTop;
|
||||
return svgOf(x0, y0, w, h, '확대기초·말뚝 측면', parts.join(''));
|
||||
|
||||
Reference in new issue
Block a user