diff --git a/src-tauri/core/src/standards.rs b/src-tauri/core/src/standards.rs index 574e6292..428ec0c2 100644 --- a/src-tauri/core/src/standards.rs +++ b/src-tauri/core/src/standards.rs @@ -109,7 +109,7 @@ pub fn hatches() -> Vec { layer("std-h-daemmung-holzfaser", "SIA Dämmung Holzfaser", "insulation", 1.4, 0.1), // Fig. 34 Dämmstoffe (Fig. 37/38): Parallelen quer zur Schicht über die ganze Dicke — für harte // Dämmung (EPS/XPS), damit sie sich von der weichen unterscheidet. - lines("std-h-daemmstoffe-sia", "Dämmstoffe (SIA-Linien)", "diagonal", 0.035, 0.0, true, 0.1, ""), + lines("std-h-daemmstoffe-sia", "Dämmstoffe (SIA-Linien)", "diagonal", 0.035, 90.0, true, 0.1, ""), // Fig. 34 Mörtel, Gips, Verputz: leer (Farbe violett nur bei farbiger Darstellung). Estrich ist Mörtel. empty("std-h-gips", "SIA Gips"), empty("std-h-putz", "SIA Putz"), @@ -663,7 +663,7 @@ mod tests { assert_eq!((of("std-c-backstein").pattern, of("std-c-backstein").angle), (P::Diagonal, 45.0)); assert_eq!((of("std-c-kalksandstein").pattern, of("std-c-kalksandstein").angle), (P::Diagonal, 135.0)); assert!((spacing("std-c-backstein") - spacing("std-c-kalksandstein")).abs() < 1e-9); - // Weiche Dämmung: Dämmschlange (Holzfaser weiter); harte Dämmung: SIA-Parallelen quer zur Schicht. + // Weiche Dämmung: Dämmschlange (Holzfaser weiter); harte Dämmung: SIA-Parallelen quer zur Schicht (90° zur Wand, Maintainer 5.11.). for c in ["std-c-mineralwolle", "std-c-steinwolle", "std-c-trittschall"] { let h = of(c); assert_eq!((h.id.as_str(), h.pattern, h.scale, h.relative_to_wall), ("std-h-daemmung-weich", P::Insulation, 1.0, Some(true)), "{c}"); @@ -671,7 +671,7 @@ mod tests { assert_eq!((of("std-c-holzfaser").pattern, of("std-c-holzfaser").scale), (P::Insulation, 1.4)); for c in ["std-c-eps", "std-c-xps"] { let h = of(c); - assert_eq!((h.id.as_str(), h.pattern, h.angle, h.relative_to_wall), ("std-h-daemmstoffe-sia", P::Diagonal, 0.0, Some(true)), "{c}"); + assert_eq!((h.id.as_str(), h.pattern, h.angle, h.relative_to_wall), ("std-h-daemmstoffe-sia", P::Diagonal, 90.0, Some(true)), "{c}"); } // Mörtel, Gips, Verputz (und Estrich) leer; Metall leer, Stahl schwarz. for c in ["std-c-innenputz", "std-c-aussenputz", "std-c-gipskarton", "std-c-zementestrich", "std-c-aluminium"] { diff --git a/src/model/standards.test.ts b/src/model/standards.test.ts index 801d773e..b4cf4d14 100644 --- a/src/model/standards.test.ts +++ b/src/model/standards.test.ts @@ -45,7 +45,7 @@ describe("Standard-Bibliothek ([100]–[102])", () => { expect(hatchOf("Aussenputz").pattern).toBe("none"); expect(hatchOf("Beton").pattern).toBe("crosshatch"); expect(hatchOf("EPS").pattern).toBe("diagonal"); - expect(hatchOf("EPS").angle).toBe(0); + expect(hatchOf("EPS").angle).toBe(90); expect(hatchOf("Holzwerkstoff (OSB/Spanplatte)").pattern).toBe("woodBased"); expect(hatchOf("Keramikplatten").pattern).toBe("crosshatch"); expect(hatchOf("Faserzementplatten").pattern).toBe("diagonal"); diff --git a/src/plan/__golden__/komplex-model3d.txt b/src/plan/__golden__/komplex-model3d.txt index 637730b2..2af584e2 100644 --- a/src/plan/__golden__/komplex-model3d.txt +++ b/src/plan/__golden__/komplex-model3d.txt @@ -52,4 +52,4 @@ walls[].start [2] x1489 walls[].startCut [4] x1164 walls[].topDrop [2] x103 walls[].topPlane [3] x259 -hash bc2eb52a84f8ea64 +hash f90e936890c00a18