Grundriss: Oberlicht-Andeutung (opening-transom) entfernt
Zeigte immer eine gestrichelte Linie quer über die Öffnung bei transomHeight>0 — auf der Wandachse, unabhängig davon, ob die horizontale Schnittebene den Kämpfer überhaupt trifft. Ein Kämpfer/Oberlicht ist ein Höhen-, kein Grundriss-Merkmal; die Linie war daher architektonisch nicht aussagekräftig (Nutzer-Report, dieselbe Kategorie Fehler wie die entfernte Brüstungslinie). Betrifft Fenster UND Türen (gemeinsame addOpeningFrameBand-Funktion).
This commit is contained in:
@@ -188,12 +188,10 @@ describe("generatePlan — zweiflügelige Tür (leafCount)", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("generatePlan — Oberlicht (opening-transom)", () => {
|
describe("generatePlan — Oberlicht (opening-transom, entfernt)", () => {
|
||||||
it("erscheint genau dann, wenn transomHeight > 0", () => {
|
it("erscheint NICHT mehr im Grundriss, unabhängig von transomHeight (Nutzer-Report: falsch auf Wandachse, Kämpfer ist ein Höhen- kein Grundriss-Merkmal)", () => {
|
||||||
const withTransom = project([{ ...baseWindow, typeId: "wt1" }], { windowTypes: [windowType] });
|
const withTransom = project([{ ...baseWindow, typeId: "wt1" }], { windowTypes: [windowType] });
|
||||||
const transomLines = linesOfClass(withTransom, "opening-transom", "F1");
|
expect(linesOfClass(withTransom, "opening-transom", "F1").length).toBe(0);
|
||||||
expect(transomLines.length).toBe(1);
|
|
||||||
expect(Array.isArray(transomLines[0].dash) && transomLines[0].dash!.length).toBeGreaterThan(0);
|
|
||||||
|
|
||||||
const noTransomType: WindowType = { ...windowType, id: "wt2", transomHeight: 0 };
|
const noTransomType: WindowType = { ...windowType, id: "wt2", transomHeight: 0 };
|
||||||
const withoutTransom = project([{ ...baseWindow, typeId: "wt2" }], { windowTypes: [noTransomType] });
|
const withoutTransom = project([{ ...baseWindow, typeId: "wt2" }], { windowTypes: [noTransomType] });
|
||||||
|
|||||||
@@ -2060,21 +2060,11 @@ function addOpeningFrameBand(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Oberlicht (Überkopf-Andeutung): eine gestrichelte Linie quer über die
|
// Die frühere Oberlicht-Andeutung (gestrichelte Linie quer über die ganze
|
||||||
// Öffnung auf der Wandachse — nur wenn der Typ ein Oberlicht definiert.
|
// Öffnung bei transomHeight>0) ist entfernt (Nutzer-Report: erscheint immer
|
||||||
if (spec.transomHeight > 0) {
|
// auf der Wandachse, unabhängig davon, ob die Schnittebene den Kämpfer
|
||||||
out.push({
|
// überhaupt trifft — im horizontalen Grundriss-Schnitt architektonisch nicht
|
||||||
kind: "line",
|
// aussagekräftig, ein Kämpfer ist ein Höhen-, kein Grundriss-Merkmal).
|
||||||
a: jambStart,
|
|
||||||
b: jambEnd,
|
|
||||||
cls: "opening-transom",
|
|
||||||
weightMm: SYMBOL_HAIRLINE_MM,
|
|
||||||
dash: OVERHEAD_DASH,
|
|
||||||
color,
|
|
||||||
greyed,
|
|
||||||
openingId: o.id,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user