[198] Grundriss: gleiche Wandschichten per Boolean zu einer Fläche vereinigt, Überlappung ohne Linien
- seams::union_bands (i_overlay): Schichtbänder gleichen Stoffs verschiedener Wände (Füllung, Schraffur samt Richtung, Deckkraft) werden EINE Fläche mit einer Schraffur (Lage/Ursprung der Hauptwand); läuft zuletzt in domains.rs nach Abzugskörpern und Stützen-Aussparung. Die Bänder bleiben als unsichtbare Pick-Flächen. - Linien: auch quer durch eine gleich gestaltete Fläche (durchlaufende, nicht verbundene Wände) entfallen; oberste Fläche je Probe-Seite, Bogenwände nur am Stoss. - Tests wall_merge_tests (T, Ecke, Kreuzung, Mischmaterial, Überlappung, Bogen an Gerade); Test-Helfer zählen die Pick-Flächen; Goldens 1:50 (+1 Polygon je Vereinigung, Linien unverändert).
This commit is contained in:
15 files changed
+441
-49
No files matched your search
@@ -1,12 +1,12 @@
|
||||
viewBox -12.974 0 37.808 33.406
|
||||
bytes 318050
|
||||
bytes 318555
|
||||
circle 14
|
||||
g 1
|
||||
line 3209
|
||||
polygon 78
|
||||
polygon 80
|
||||
polyline 69
|
||||
rect 1
|
||||
svg 1
|
||||
text 32
|
||||
tspan 9
|
||||
hash d8a94bcdd3ecaacd
|
||||
hash ef48702388970349
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -41.5 0 95 63.6
|
||||
bytes 108854
|
||||
bytes 110542
|
||||
circle 16
|
||||
g 1
|
||||
line 365
|
||||
path 67
|
||||
polygon 224
|
||||
polygon 231
|
||||
polyline 102
|
||||
rect 1
|
||||
svg 1
|
||||
text 116
|
||||
tspan 25
|
||||
hash 816aec413091c777
|
||||
hash 7648bcf107ccdde3
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -12.974 0 37.808 33.406
|
||||
bytes 353505
|
||||
bytes 355316
|
||||
circle 14
|
||||
g 1
|
||||
line 3254
|
||||
path 38
|
||||
polygon 156
|
||||
polygon 165
|
||||
polyline 156
|
||||
rect 1
|
||||
svg 1
|
||||
text 86
|
||||
tspan 18
|
||||
hash b617e6093f9e52f1
|
||||
hash a90f35ea4563ac99
|
||||
@@ -1,13 +1,13 @@
|
||||
viewBox -13.693 0 38.527 33.406
|
||||
bytes 47998
|
||||
bytes 48749
|
||||
circle 16
|
||||
g 1
|
||||
line 94
|
||||
path 38
|
||||
polygon 80
|
||||
polygon 84
|
||||
polyline 87
|
||||
rect 1
|
||||
svg 1
|
||||
text 71
|
||||
tspan 15
|
||||
hash db285960e8796a2f
|
||||
hash 77b2b13a58b74fb9
|
||||
@@ -1,11 +1,11 @@
|
||||
viewBox -1.56 0 8.121 7.354
|
||||
bytes 8997
|
||||
bytes 9304
|
||||
g 1
|
||||
line 18
|
||||
polygon 47
|
||||
polygon 49
|
||||
polyline 6
|
||||
rect 1
|
||||
svg 1
|
||||
text 5
|
||||
tspan 2
|
||||
hash d019916bb5d813ec
|
||||
hash 545b18572ba9c27a
|
||||
@@ -1,10 +1,10 @@
|
||||
viewBox -1.56 0 8.121 7.581
|
||||
bytes 6163
|
||||
bytes 6325
|
||||
g 1
|
||||
line 19
|
||||
polygon 32
|
||||
polygon 33
|
||||
polyline 2
|
||||
rect 1
|
||||
svg 1
|
||||
text 3
|
||||
hash fa12f60d23324d84
|
||||
hash b9d6b54f01e9f7e0
|
||||
@@ -83,10 +83,11 @@ describe("generatePlan — Wandecken-Gehrung", () => {
|
||||
|
||||
it("legt die Umriss-Cut-Ecken exakt auf die Fläche×Fläche-Apexe (sauberer Miter, kein Overshoot)", () => {
|
||||
const plan = generatePlan(cornerProject(), "eg", visible, undefined, "mittel");
|
||||
// Der Wand-Umriss ist das letzte Wandpolygon je Wand (fill:"none").
|
||||
// Der Wand-Umriss ist das letzte Wandpolygon je Wand (fill:"none", gestrichen) — ohne die unsichtbaren
|
||||
// Pick-Flächen der in einer [198]-Vereinigung aufgegangenen Bänder (fill und stroke "none").
|
||||
const outlineW1 = plan.primitives.filter(
|
||||
(p): p is Extract<typeof p, { kind: "polygon" }> =>
|
||||
p.kind === "polygon" && p.wallId === "W1" && p.fill === "none",
|
||||
p.kind === "polygon" && p.wallId === "W1" && p.fill === "none" && p.stroke !== "none",
|
||||
);
|
||||
expect(outlineW1.length).toBe(1);
|
||||
const o = outlineW1[0];
|
||||
|
||||
Reference in new issue
Block a user