[325] Plakat/Präsentationsblatt: Situation füllt ihr Feld (1:200/1:250), Bild linksbündig, Detailverweis mit langem Namen, Fensterkette im Musterhaus komplex nicht mehr auf der Auto-Bemassung

This commit is contained in:
Claude committed 2026-11-20 22:40:52 +00:00
1 parent ac8b34dd9c
commit 268f5bb590
9 files changed
+104 -21

No files matched your search

+19
View File
@@ -114,4 +114,23 @@ describe("Musterhaus komplex", () => {
for (const t of sheetTables(p, layout.id)) expect(t.total, t.id).toBeGreaterThan(0);
}
});
// [325] Handgesetzte Masskette und automatische Aussenbemassung teilen nie dieselbe Masslinie (Zahlen überlagerten sich).
it("EG: keine Massketten auf derselben Linie", () => {
type D = { id: string; levelId: string; geom: { shape: string; pts?: { x: number; y: number }[]; offset?: number } };
const lines = (p.drawings2d as unknown as D[])
.filter((d) => d.levelId === "eg" && d.geom.shape === "dimension" && d.geom.pts && d.geom.pts.length > 1)
.filter((d) => d.geom.pts!.every((q) => Math.abs(q.y - d.geom.pts![0].y) < 1e-9))
.map((d) => {
const pts = d.geom.pts!, off = d.geom.offset ?? 0;
const y = pts[0].y + (d.id.includes("-south-") ? -off : off);
const xs = pts.map((q) => q.x);
return { id: d.id, y, x0: Math.min(...xs), x1: Math.max(...xs) };
});
for (const [i, a] of lines.entries()) {
for (const b of lines.slice(i + 1)) {
if (a.x0 < b.x1 && b.x0 < a.x1) expect(Math.abs(a.y - b.y), `${a.id} / ${b.id}`).toBeGreaterThan(0.6);
}
}
});
});
+1 -1
View File
@@ -608,7 +608,7 @@ function annotations(): Drawing2D[] {
refs: [{ id: "eg-aw-w", feature: "wall", index: 4, t: 0.88 }, { id: "eg-iw-x6", feature: "wall", index: 0, t: 0.12 }],
});
add("mass-fenster-eg", "eg", "80", {
shape: "dimension", pts: [P(1.6, -1.2), P(3.4, -1.2), P(7.0, -1.2), P(10.0, -1.2)], offset: 0,
shape: "dimension", pts: [P(1.6, -5.4), P(3.4, -5.4), P(7.0, -5.4), P(10.0, -5.4)], offset: 0,
refs: [
{ id: "eg-f1", feature: "opening", index: 0 }, { id: "eg-f1", feature: "opening", index: 1 },
{ id: "eg-t-hst", feature: "opening", index: 0 }, { id: "eg-t-hst", feature: "opening", index: 1 },
@@ -1,5 +1,5 @@
viewBox -41.5 0 95 64.4
bytes 67479
bytes 67497
circle 16
g 1
line 135
@@ -10,4 +10,4 @@ rect 1
svg 1
text 112
tspan 25
hash e75c2c10650633b0
hash 4c8e70ff64f0e99f
@@ -1,5 +1,5 @@
viewBox -41.5 0 95 64.4
bytes 109502
bytes 109498
circle 16
g 1
line 347
@@ -10,4 +10,4 @@ rect 1
svg 1
text 112
tspan 25
hash 9f1e625870b624b8
hash a804216dc5e278de