Merge branch 'worktree-agent-a17f63277218e7ae9' into claude/practical-noether-1hb2s1
# Conflicts: # TODO.md # src/plan/__golden__/komplex-grundriss-eg-50.txt # src/plan/__golden__/komplex-grundriss-og-50.txt # src/plan/__golden__/komplex-grundriss-ug-50.txt # src/plan/__golden__/komplex-schnitt-schnitt-a.txt
This commit is contained in:
23 files changed
+631
-96
No files matched your search
@@ -30,9 +30,11 @@ describe("Fenster- und Türliste", () => {
|
||||
expect(all.some((r) => r[0] === "T-Haus" && r.includes('Eingang; mit "Zusatz"'))).toBe(true);
|
||||
});
|
||||
it("[106] Leibungsflächen je Schicht als optionale Spalten", () => {
|
||||
const plain = buildOpeningReport(p);
|
||||
// Ohne Schichteinzug (auch ohne die [168]-Vorgabe bei Aussendämmung): ausdrücklich leer.
|
||||
const bare: Project = { ...p, openings: p.openings!.map((o) => ({ ...o, layerReveals: [] })) };
|
||||
const plain = buildOpeningReport(bare);
|
||||
const o0 = p.openings![0]!;
|
||||
const withRev: Project = { ...p, openings: p.openings!.map((o) => (o.id === o0.id ? { ...o, layerReveals: [{ layer: 0, mode: "zurueck" as const }] } : o)) };
|
||||
const withRev: Project = { ...bare, openings: bare.openings!.map((o) => (o.id === o0.id ? { ...o, layerReveals: [{ layer: 0, mode: "zurueck" as const }] } : o)) };
|
||||
const rows = openingSchedule(withRev);
|
||||
const r0 = rows.find((r) => r.id === o0.id)!;
|
||||
expect(r0.revealAreas.length).toBe(1);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
viewBox -12.65 0 37.3 33.3
|
||||
bytes 325522
|
||||
bytes 324678
|
||||
circle 14
|
||||
g 1
|
||||
line 3206
|
||||
polygon 76
|
||||
polygon 68
|
||||
polyline 80
|
||||
rect 1
|
||||
svg 1
|
||||
text 36
|
||||
tspan 12
|
||||
hash c754734e5a61a0df
|
||||
hash a1ffcd11fb447e54
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 130191
|
||||
bytes 127667
|
||||
circle 16
|
||||
g 1
|
||||
line 419
|
||||
path 39
|
||||
polygon 252
|
||||
polyline 141
|
||||
polygon 218
|
||||
polyline 145
|
||||
rect 1
|
||||
svg 1
|
||||
text 119
|
||||
text 121
|
||||
tspan 32
|
||||
hash f229dadb6115d972
|
||||
hash 8ec5db0e3cdeadfd
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.65 0 37.3 33.3
|
||||
bytes 369749
|
||||
bytes 365237
|
||||
circle 14
|
||||
g 1
|
||||
line 3238
|
||||
path 21
|
||||
polygon 213
|
||||
polyline 176
|
||||
polygon 159
|
||||
polyline 180
|
||||
rect 1
|
||||
svg 1
|
||||
text 89
|
||||
text 91
|
||||
tspan 24
|
||||
hash 682953e161ae713a
|
||||
hash a95192bff1153cc7
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.65 0 37.3 33.3
|
||||
bytes 62140
|
||||
bytes 61688
|
||||
circle 14
|
||||
g 1
|
||||
line 117
|
||||
path 15
|
||||
polygon 89
|
||||
polyline 90
|
||||
polygon 81
|
||||
polyline 92
|
||||
rect 1
|
||||
svg 1
|
||||
text 74
|
||||
text 75
|
||||
tspan 20
|
||||
hash 0aef5140bd6ee3b8
|
||||
hash 2f6e2da3d161819b
|
||||
@@ -1,11 +1,11 @@
|
||||
viewBox 4.457 0 21.343 17.378
|
||||
bytes 33583
|
||||
circle 4
|
||||
bytes 34779
|
||||
circle 3
|
||||
g 1
|
||||
line 33
|
||||
polygon 185
|
||||
polyline 16
|
||||
line 42
|
||||
polygon 183
|
||||
polyline 17
|
||||
rect 1
|
||||
svg 1
|
||||
text 3
|
||||
hash ef5a378a0ea326c1
|
||||
hash 0bd932dd39400382
|
||||
@@ -1,11 +1,11 @@
|
||||
viewBox -1.731 0 8.461 7.322
|
||||
bytes 10317
|
||||
bytes 10157
|
||||
g 1
|
||||
line 30
|
||||
polygon 48
|
||||
polygon 43
|
||||
polyline 9
|
||||
rect 1
|
||||
svg 1
|
||||
text 7
|
||||
tspan 3
|
||||
hash 4d8c794c3190f4eb
|
||||
hash 02f3ed4056f36531
|
||||
@@ -16,16 +16,16 @@ slabs[].color [3] x3
|
||||
slabs[].cut.lineColor [3]
|
||||
slabs[].outline [4] x3
|
||||
slabs[].outline[] [2] x12
|
||||
walls [47]
|
||||
walls[].color [3] x47
|
||||
walls[].cut.lineColor [3] x11
|
||||
walls[].end [2] x47
|
||||
walls [59]
|
||||
walls[].color [3] x59
|
||||
walls[].cut.lineColor [3] x23
|
||||
walls[].end [2] x59
|
||||
walls[].endCut [4] x47
|
||||
walls[].holes [1] x5
|
||||
walls[].holes [2] x5
|
||||
walls[].layers [0] x47
|
||||
walls[].start [2] x47
|
||||
walls[].layers [0] x59
|
||||
walls[].start [2] x59
|
||||
walls[].startCut [4] x47
|
||||
walls[].topDrop [2] x6
|
||||
walls[].topPlane [3] x6
|
||||
hash 43431f51d1e44e8b
|
||||
hash d9b519437e8b0665
|
||||
@@ -254,7 +254,7 @@ describe('GpuChunkCache: Kern-Abschnitte (Plan-Puffer v2, Inhalts-Hash)', () =>
|
||||
});
|
||||
|
||||
it('eine verschobene Wand kompiliert nur wenige Chunks neu', () => {
|
||||
const p = bigSampleProject(8);
|
||||
const p = bigSampleProject(10);
|
||||
const { gl } = makeGl();
|
||||
const cache = new GpuChunkCache(gl);
|
||||
// 1:50: Wände mit Schichten (ab 1:100 eine schwarze Fläche je Wand, [140]) → genug Chunks.
|
||||
|
||||
@@ -96,7 +96,8 @@ describe("selectionHighlightLines", () => {
|
||||
// hinzu. Beide stehen unter der Geschossdecke C1, deren Beton-Schicht (100)
|
||||
// den Backstein (50) im z-Band [2.3,2.5] spaltet -> 5 Körper (per-Schicht-
|
||||
// Decken-Dominanz, s. Backstein-Boxen [0,2.3] + [2.5,2.6]).
|
||||
const noW9: Project = { ...sampleProject, walls: sampleProject.walls.filter((w) => w.id !== "W9") };
|
||||
// Ohne Schichteinzug (die [168]-Vorgabe bei Aussendämmung setzt sonst Überdämmungs-Stücke als Körper).
|
||||
const noW9: Project = { ...sampleProject, walls: sampleProject.walls.filter((w) => w.id !== "W9"), openings: (sampleProject.openings ?? []).map((o) => ({ ...o, layerReveals: [] })) };
|
||||
const w1 = selectionHighlightLines(noW9, ["W1"], [], RGB);
|
||||
const w2 = selectionHighlightLines(noW9, ["W2"], [], RGB);
|
||||
expect(w1.length).toBe(5 * 12 * VERTICES_PER_EDGE * FLOATS_PER_VERTEX);
|
||||
@@ -291,7 +292,8 @@ describe("Öffnungen als echte Löcher in EINEM Körper (3D-Pfad, layeredWalls:t
|
||||
it("Tür = Loch bis zur Wand-UK (zBottom == baseElevation)", () => {
|
||||
// Eine Tür (D1 auf W1) muss im 3D-Pfad als Loch bis zum Boden erscheinen:
|
||||
// zBottom des Lochs == Wand-UK (0), NICHT ab einer Brüstung.
|
||||
const p: Project = { ...sampleProject, openings: (sampleProject.openings ?? []).filter((o) => o.id === "D1") };
|
||||
// Ohne Schichteinzug ([168]-Vorgabe): nur die Bänder mit dem Loch.
|
||||
const p: Project = { ...sampleProject, openings: (sampleProject.openings ?? []).filter((o) => o.id === "D1").map((o) => ({ ...o, layerReveals: [] })) };
|
||||
const w1 = projectToWalls3d(p, true).filter((w) => w.wallId === "W1");
|
||||
// W1 ist Durchgangswand für W9 (T-Stoss) -> innerste Putzschicht span-cutout-
|
||||
// gebrochen. Zusätzlich spaltet die Decke C1 (Beton 100) den Backstein (50) im
|
||||
|
||||
Reference in new issue
Block a user