Merge branch 'worktree-agent-afa7129a33e49a518' into claude/practical-noether-1hb2s1

This commit is contained in:
Claude committed 2026-11-11 23:40:25 +00:00
commit b93731691c
12 files changed
+91 -28

No files matched your search

+2 -1
View File
@@ -127,7 +127,8 @@ describe("modelViews", () => {
const elev = (q: Project) => JSON.stringify(generateElevationPlan(q, q.drawingLevels.find((l) => l.id === "ansicht-sued")!)?.primitives.length);
const ohne = elev(noShadow(sampleProject));
expect(ohne).not.toBe(elev(sampleProject));
let e = noShadow(withMv());
// [184] Basis „mittel" wie der Massstab des Musterhauses (fein zeichnet in der Ansicht zusätzlich die Fensterbank).
let e = noShadow(applyOps(sampleProject, addModelViewOps(newModelView("mv1", "Werkplan", "mittel"))));
e = applyOps(e, setModelViewOptionOps(e, "mv1", "elevation", "shadows", true));
e = applyOps(e, selectModelViewOps(e, "ansicht-sued", "mv1"));
expect(elev(e)).toBe(elev(sampleProject));
+4 -2
View File
@@ -160,6 +160,8 @@ export interface ModelViewField {
key: string;
/** Werte als Liste (Auswahl) oder `"bool"`/`"number"`. */
values: readonly (string | number)[] | "bool" | "number";
/** [184] Dreifach-Wahl „Wie Detailgrad / Voll / Vereinfacht" statt „wie Basis / an / aus" (Beschriftung + Tooltip). */
detailChoice?: boolean;
}
export const MODEL_VIEW_FIELDS: readonly ModelViewField[] = [
@@ -169,7 +171,7 @@ export const MODEL_VIEW_FIELDS: readonly ModelViewField[] = [
{ section: "doors", key: "frame", values: "bool" },
{ section: "doors", key: "leaf", values: ["line", "rect"] },
{ section: "doors", key: "threshold", values: ["off", "liftSlide", "all"] },
{ section: "doors", key: "sectionDetail", values: "bool" },
{ section: "doors", key: "sectionDetail", values: "bool", detailChoice: true },
{ section: "windows", key: "sashSymbols", values: "bool" },
{ section: "windows", key: "planSwingArcs", values: "bool" },
{ section: "windows", key: "sill", values: "bool" },
@@ -177,7 +179,7 @@ export const MODEL_VIEW_FIELDS: readonly ModelViewField[] = [
{ section: "windows", key: "simplified", values: "bool" },
{ section: "windows", key: "shadingBox", values: "bool" },
{ section: "windows", key: "lintelLine", values: "bool" },
{ section: "windows", key: "sectionDetail", values: "bool" },
{ section: "windows", key: "sectionDetail", values: "bool", detailChoice: true },
{ section: "windows", key: "elevationDivision", values: "bool" },
{ section: "stairs", key: "walkLine", values: "bool" },
{ section: "stairs", key: "arrow", values: "bool" },