[148] Flachdach: Attika (parapetHeight/Width/ComponentId) in 3D, Schnitt, Ansicht, Grundriss, Objekt-Info
Neues Modul roof_parapet.rs: Ringkörper auf dem Traufumriss des Flachdachs (kurze Kanten werden zusammengezogen, damit der Innenring nicht umklappt). 3D über emit_roofs, Schnitt mit Schraffur des Bauteils, Ansicht über die Dach-Sichtflächen, Grundriss-Innenkante auf der Dach-Ebene. Musterhaus komplex: Erker mit Betonattika. Gefälle der Dachhaut bleibt offen (TODO).
This commit is contained in:
21 files changed
+350
-21
No files matched your search
@@ -295,6 +295,33 @@ export function RoofSection({
|
||||
0.05,
|
||||
(v) => host.onSetRoofPatch({ overhangGable: Math.max(0, v) }),
|
||||
)}
|
||||
{/* Attika ([148]): Brüstung am Rand des Flachdachs; Höhe 0 = keine. */}
|
||||
{roof.shape === "flach" && (
|
||||
<>
|
||||
{numField("objinfo.roof.parapetHeight", roof.parapetHeight ?? 0, 0.05, (v) =>
|
||||
host.onSetRoofPatch({ parapetHeight: v > 0 ? v : undefined }),
|
||||
)}
|
||||
{(roof.parapetHeight ?? 0) > 0 &&
|
||||
numField("objinfo.roof.parapetWidth", roof.parapetWidth ?? 0.2, 0.01, (v) =>
|
||||
host.onSetRoofPatch({ parapetWidth: Math.max(0.02, v) }),
|
||||
)}
|
||||
{(roof.parapetHeight ?? 0) > 0 && (
|
||||
<div className="objinfo-field">
|
||||
<span className="objinfo-flabel">{t("objinfo.roof.parapetMaterial")}</span>
|
||||
<Dropdown
|
||||
value={roof.parapetComponentId ?? ""}
|
||||
onChange={(v) => host.onSetRoofPatch({ parapetComponentId: v || undefined })}
|
||||
options={[
|
||||
{ value: "", label: t("objinfo.roof.parapetMaterial.none") },
|
||||
...storeProject.components.map((c) => ({ value: c.id, label: c.name })),
|
||||
]}
|
||||
title={t("objinfo.roof.parapetMaterial")}
|
||||
width={130}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
{numField("objinfo.roof.thickness", roof.thickness, 0.02, (v) =>
|
||||
host.onSetRoofPatch({ thickness: Math.max(0.01, v) }),
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user