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:
@@ -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) }),
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user