[G2][G5][T2] Wand an Dach: exakte ebene Oberkante je Schicht, Gauben über den First abgefangen, IFC-Mengen der Gaube

Wände unter Dächern enden je Schicht exakt an der Dach-Unterkante (Facetten, obere Hülle bei Kehlen
und Gauben), geteilt an First/Grat/Kehle und seitlich über die Dicke, mit ebener Oberkante (topPlane)
in 3D, Schnitt, Ansicht, Exporten und Mengen; Öffnungen unter der Schräge ohne Treppung; Option
„An Dach anschliessen“ je Wand. Ansicht: Verdeckung der Wände durch die Dachscheiben, Stirnflächen
statt Giebeldreiecken. Gauben über den First werden gekappt, Gaubendach endet an der Dachfläche;
IFC-Mengen der Gauben am IfcRoof.
This commit is contained in:
Claude committed 2026-10-30 07:37:48 +00:00
1 parent 63b0823936
commit fd111c81ec
27 files changed
+1533 -159

No files matched your search

+5
View File
@@ -525,6 +525,11 @@ export const de = {
"objinfo.wall.refLine.right": "Innen (rechts)",
"objinfo.wall.refLine.joint": "Fuge",
"objinfo.wall.sliceTermination": "An Decke enden",
"objinfo.wall.roofAttach": "An Dach anschliessen",
"objinfo.wall.roofAttach.auto": "Automatisch",
"objinfo.wall.roofAttach.on": "Ja, bis unters Dach",
"objinfo.wall.roofAttach.off": "Nein",
"objinfo.wall.roofAttach.tip": "Automatisch: Die Wand endet je Schicht an der Dach-Unterkante, wo ihre Krone darüber liegt. Ja: zusätzlich bis unter das Dach verlängert. Nein: Dächer schneiden die Wand nicht.",
"objinfo.wall.sliceTermination.both": "Aus",
"objinfo.wall.sliceTermination.below": "Unten",
"objinfo.wall.sliceTermination.above": "Oben",
+5
View File
@@ -523,6 +523,11 @@ export const en: Record<TranslationKey, string> = {
"objinfo.wall.refLine.right": "Interior (right)",
"objinfo.wall.refLine.joint": "Joint",
"objinfo.wall.sliceTermination": "End at ceiling",
"objinfo.wall.roofAttach": "Attach to roof",
"objinfo.wall.roofAttach.auto": "Automatic",
"objinfo.wall.roofAttach.on": "Yes, up to the roof",
"objinfo.wall.roofAttach.off": "No",
"objinfo.wall.roofAttach.tip": "Automatic: each wall layer ends at the roof underside where its top lies above it. Yes: also extended up to the roof. No: roofs do not cut the wall.",
"objinfo.wall.sliceTermination.both": "Off",
"objinfo.wall.sliceTermination.below": "Below",
"objinfo.wall.sliceTermination.above": "Above",
+6
View File
@@ -3158,6 +3158,12 @@ export type Wall = {
* Additiv; Alt-Projekte laden unverändert (Default = "both").
*/
sliceTermination?: SliceTermination;
/**
* An Dach anschliessen ([G2]): `undefined` = automatisch (die Wand endet an der Dach-Unterkante,
* wo ihre Krone darüber liegt — je Schicht, Giebel/Traufe/Grat/Kehle/Gaube), `true` = zusätzlich bis
* unter das Dach verlängert, `false` = Dächer schneiden die Wand nicht.
*/
roofAttach?: boolean;
/**
* Ansichtsschraffur ([100]): Drehung (Grad) des Oberflächenmusters dieses Elements gegenüber der
* Ausrichtung am Element (Default 0).
+17
View File
@@ -1855,6 +1855,23 @@ export function CeilingSection({
<div className="objinfo-sep" />
<div className="objinfo-section-label">{t("objinfo.ceiling.section")}</div>
{/* An Dach anschliessen ([G2]): automatisch endet die Wand an der Dach-Unterkante, "Ja"
verlängert sie bis unter das Dach, "Nein" lässt die Dächer die Wand nicht schneiden. */}
<div className="objinfo-field">
<span className="objinfo-flabel">{t("objinfo.wall.roofAttach")}</span>
<Dropdown
value={wall.roofAttach}
onChange={(v) => host.onSetWallRoofAttach(v as "auto" | "on" | "off")}
options={[
{ value: "auto", label: t("objinfo.wall.roofAttach.auto") },
{ value: "on", label: t("objinfo.wall.roofAttach.on") },
{ value: "off", label: t("objinfo.wall.roofAttach.off") },
]}
title={t("objinfo.wall.roofAttach.tip")}
width={120}
/>
</div>
{/* Aufbau-Typ-Segment. */}
<div className="objinfo-field">
<span className="objinfo-flabel">{t("objinfo.ceiling.buildup")}</span>
+2
View File
@@ -396,6 +396,8 @@ export interface PanelHostValue {
* "both" = heutiges Verhalten, "below"/"above" = die Wand endet an der Decke.
*/
onSetWallSliceTermination: (termination: SliceTermination) => void;
/** An Dach anschliessen ([G2]): "auto" = Default (Wand endet an der Dach-Unterkante). */
onSetWallRoofAttach: (attach: "auto" | "on" | "off") => void;
/** Ansichtsschraffur ([100]) an der gewählten Wand bzw. am gewählten Dach drehen/versetzen. */
onSetSurfacePatternPlacement?: (patch: { surfacePatternAngle?: number; surfacePatternOffset?: { x: number; y: number } }) => void;
/** Weist der Wand einen Wandtyp-Preset (mehrschichtiger Aufbau) zu. */
+5
View File
@@ -104,6 +104,11 @@ export interface RWall {
* Nur für Boxen ohne Löcher/Öffnungen (render3d `WallInput::top_drop`).
*/
topDrop?: [number, number];
/**
* Ebene Oberkante unter einer Dachfläche ([G2]): `[z am Anfang, dz/dx, dz/dy]` (Grundriss-Meter);
* übersteuert `topDrop` (render3d `WallInput::top_plane`). Fehlt = waagrecht.
*/
topPlane?: [number, number, number];
color: RRgb;
/**
* Immer leer: die Schichten werden TS-seitig in eigene Voll-Boxen zerlegt
+2
View File
@@ -124,6 +124,8 @@ export interface WallInfo {
layerBoundaries: LayerBoundaryChoice[];
/** Terminierungs-Regel am Deckenanschluss (Default "both" = heutiges Verhalten). */
sliceTermination: SliceTermination;
/** An Dach anschliessen ([G2]): "auto" (Default), "on" (bis unter das Dach verlängern), "off". */
roofAttach: "auto" | "on" | "off";
wallTypeId: string;
/** Aktuelle Gesamtdicke (Meter). */
thickness: number;
+5
View File
@@ -799,6 +799,11 @@ export function usePanelHostBase(opts: {
sliceTermination: termination === "both" ? undefined : termination,
});
},
onSetWallRoofAttach: (attach) => {
if (selection?.kind === "wall")
// "auto" ist der Default ⇒ als undefined speichern.
updateWall(selection.id, { roofAttach: attach === "auto" ? undefined : attach === "on" });
},
onSetWallType: (wallTypeId) => {
if (selection?.kind === "wall")
updateWall(selection.id, { wallTypeId });