Dach: getrennter Überstand Traufe/Ortgang (statt ringsum)

Bisher ein einziger overhang ringsum (Designdoc-Prio #2). Neu Roof.overhangGable
für den Ortgang (Giebelseite, entlang First); overhang gilt für die Traufe
(senkrecht zum First). Fehlt overhangGable, gilt ringsum overhang (rückwärts-
kompatibel). Geometrie mappt die Überstände je nach ridgeAxis auf die Outline-
Achsen. Panel: zweites Feld 'Überstand Ortgang' (ausser flach/zelt). +3 Tests.
672/672 grün.
This commit is contained in:
2026-07-10 02:10:03 +02:00
parent 4319e12e35
commit c9baff58b0
7 changed files with 58 additions and 9 deletions
+9 -1
View File
@@ -577,10 +577,18 @@ export function RoofSection({
});
})}
{/* Überstand + Dicke (Meter). */}
{/* Überstand: Traufe (senkrecht zum First) + Ortgang (Giebelseite). */}
{numField("objinfo.roof.overhang", roof.overhang, 0.05, (v) =>
host.onSetRoofPatch({ overhang: Math.max(0, v) }),
)}
{roof.shape !== "flach" &&
roof.shape !== "zelt" &&
numField(
"objinfo.roof.overhangGable",
roof.overhangGable ?? roof.overhang,
0.05,
(v) => host.onSetRoofPatch({ overhangGable: Math.max(0, v) }),
)}
{numField("objinfo.roof.thickness", roof.thickness, 0.02, (v) =>
host.onSetRoofPatch({ thickness: Math.max(0.01, v) }),
)}