[105][103][G3][106][97] Fenster/Türen: Rahmen-Detail in der Ansicht, Türblatt im Falz, Pfostenbreite, Dachfenster-Griffe/Info/Liste, Formöffnung in der Projektion, Schnitt parallel durch die Leibung

Ansicht: Rahmen je Seite, Verbreiterungs-/Bank-/Storenprofile, Anschlag je Seite, Zargenspiegel/Bekleidung je
sichtbarer Seite. 3D/Grundriss: Türblatt im Falz der Zarge (Drehpunkt an der Falzkante). Pfostenbreite in
Grundriss, Schnitt (Kämpfer/Riegel) und Ansicht. Ressourcen-Tabs mit Rahmen-Detail/Anschlag/Zarge.
Dachfenster: Griffe (Lage, Breite, Höhe im Gefälle), Objekt-Info, Liste mit Dach/Decke als Wirt, Löschen mit
dem Wirt. Formöffnungen: Umriss in der Projektion, Füllkörper je Wandschicht. Schnitt parallel zur Wand
durch die Leibung mit Rücksprung und Zusatzstücken.
This commit is contained in:
Claude committed 2026-10-30 04:12:00 +00:00
1 parent 081f8023c5
commit 0f8cb9a37b
34 files changed
+1215 -72

No files matched your search

+28 -5
View File
@@ -48,6 +48,12 @@ const windowTypes: WindowType[] = [
insetFromFace: 0.12,
frameDetail: { rebates: { left: 0.05, right: 0.0, top: 0.05, bottom: 0.0 }, extensionProfiles: { left: 0.03, right: 0.03 } },
}),
// [105] Rahmen je Seite (rechts breiter), Pfosten 10 cm zwischen zwei Flügeln, Verbreiterung links,
// Bank- und Storenanschlussprofil.
winBase("w-detail", "F Rahmen je Seite, Pfosten, Profile", undefined, {
wingCount: 2,
frameDetail: { frameSides: { left: 0.06, right: 0.12, top: 0.08, bottom: 0.1 }, mullionWidth: 0.1, extensionProfiles: { left: 0.04 }, sillProfile: 0.03, shadingProfile: 0.05 },
}),
];
const doorKinds = ["umfassungszarge", "eckzarge", "blockzarge", "blockrahmen", "blendrahmen", "futter"] as const;
const doorTypes: DoorType[] = doorKinds.map((k) => ({
@@ -66,19 +72,36 @@ const doorTypes: DoorType[] = doorKinds.map((k) => ({
doorFrame: k === "futter" ? { casingSides: "beide" } : undefined,
}));
const walls: Wall[] = [wall("AW", "aw", 0, 0, 12, 0), wall("IW", "iw", 0, 4, 14, 4)];
const walls: Wall[] = [wall("AW", "aw", 0, 0, 15, 0), wall("IW", "iw", 0, 4, 14, 4)];
const openings: Opening[] = [];
windowTypes.forEach((t, i) => {
const pos = 0.8 + i * 2.8;
openings.push({ id: `F${i + 1}`, type: "opening", hostWallId: "AW", categoryCode: "21", kind: "window", typeId: t.id, position: pos, width: 1.2, height: 1.4, sillHeight: 0.9 } as Opening);
openings.push({ id: `F${i + 1}`, type: "opening", hostWallId: "AW", categoryCode: "21", kind: "window", typeId: t.id, position: pos, width: 1.2, height: 1.4, sillHeight: 0.9, detailLevel: "fein" } as Opening);
levels.push(section(`S-F${i + 1}`, pos + 0.6, -1, 1));
});
doorTypes.forEach((t, i) => {
const pos = 0.6 + i * 2.2;
openings.push({ id: `T${i + 1}`, type: "opening", hostWallId: "IW", categoryCode: "21", kind: "door", typeId: t.id, position: pos, width: 0.9, height: 2.05, sillHeight: 0, swing: "left", openingDir: "in" } as Opening);
openings.push({ id: `T${i + 1}`, type: "opening", hostWallId: "IW", categoryCode: "21", kind: "door", typeId: t.id, position: pos, width: 0.9, height: 2.05, sillHeight: 0, swing: "left", openingDir: "in", detailLevel: "fein" } as Opening);
levels.push(section(`S-T${i + 1}`, pos + 0.45, 3, 5));
});
levels.push({ id: "a-aussen", name: "Ansicht-Aussen", kind: "elevation", visible: true, locked: false, linePoints: [{ x: 0, y: -2 }, { x: 12, y: -2 }], directionSign: 1, levelMarks: false } as DrawingLevel);
// [G3] Rundbogenfenster in einer eigenen Wand; Schnitt parallel davor (Projektion) und quer.
walls.push(wall("AW2", "aw", 0, 8, 6, 8));
openings.push({ id: "FB", type: "opening", hostWallId: "AW2", categoryCode: "21", kind: "window", typeId: "w-buendig", position: 2, width: 1.2, height: 1.6, sillHeight: 0.8, shape: "rundbogen" } as Opening);
levels.push(section("S-FB", 2.9, 7, 9));
levels.push({ id: "s-fb-par", name: "S-FB-parallel", kind: "section", visible: true, locked: false, linePoints: [{ x: -0.5, y: 7 }, { x: 6.5, y: 7 }], directionSign: 1, levelMarks: false } as DrawingLevel);
levels.push({ id: "s-fb-par2", name: "S-FB-parallel-2", kind: "section", visible: true, locked: false, linePoints: [{ x: -0.5, y: 7 }, { x: 6.5, y: 7 }], directionSign: -1, levelMarks: false } as DrawingLevel);
// [106]/[105] Schnitt parallel zur Aussenwand mitten durch die Leibungen.
levels.push({ id: "s-leibung", name: "S-Leibung", kind: "section", visible: true, locked: false, linePoints: [{ x: -0.5, y: 0.05 }, { x: 12.5, y: 0.05 }], directionSign: 1, levelMarks: false } as DrawingLevel);
// Türen von beiden Seiten (Zargenspiegel, Bekleidung je Seite).
levels.push({ id: "a-tuer-s", name: "Ansicht-Tueren-Sued", kind: "elevation", visible: true, locked: false, linePoints: [{ x: 0, y: 2.5 }, { x: 14, y: 2.5 }], directionSign: 1, levelMarks: false } as DrawingLevel);
levels.push({ id: "a-tuer-n", name: "Ansicht-Tueren-Nord", kind: "elevation", visible: true, locked: false, linePoints: [{ x: 0, y: 5.5 }, { x: 14, y: 5.5 }], directionSign: -1, levelMarks: false } as DrawingLevel);
// [103] Dachfenster in einem Satteldach über dem Dachgeschoss (eigenes Gebäude rechts).
levels.push({ id: "dg", name: "DG", kind: "floor", visible: true, locked: false, floorHeight: 2.6, cutHeight: 1.0, baseElevation: 2.6 } as DrawingLevel);
const roofs = [{ id: "R1", type: "roof", floorId: "dg", categoryCode: "35", outline: [{ x: 16, y: 0 }, { x: 22, y: 0 }, { x: 22, y: 6 }, { x: 16, y: 6 }], shape: "sattel", pitchDeg: 40, overhang: 0.3, ridgeAxis: "x", baseElevation: 2.6, thickness: 0.3 }];
openings.push({ id: "DF1", type: "opening", hostWallId: "", hostRoofId: "R1", hostPoint: { x: 19, y: 1.5 }, categoryCode: "21", kind: "window", position: 0, width: 0.78, height: 1.18, sillHeight: 0 } as Opening);
levels.push(section("S-DF", 19.2, -1, 7));
levels.push({ id: "a-dach", name: "Ansicht-Dach-Sued", kind: "elevation", visible: true, locked: false, linePoints: [{ x: 15, y: -3 }, { x: 23, y: -3 }], directionSign: 1, levelMarks: false } as DrawingLevel);
levels.push({ id: "a-aussen", name: "Ansicht-Aussen", kind: "elevation", visible: true, locked: false, linePoints: [{ x: 0, y: -2 }, { x: 15, y: -2 }], directionSign: 1, levelMarks: false } as DrawingLevel);
const project: Project = { ...emptyProject, id: "opening-details", name: "Fenster/Tür-Details", drawingLevels: levels, walls, openings, windowTypes, doorTypes };
const project = { ...emptyProject, id: "opening-details", name: "Fenster/Tür-Details", drawingLevels: levels, walls, openings, windowTypes, doorTypes, roofs } as unknown as Project;
writeFileSync(process.argv[2] ?? "opening-details.obp", JSON.stringify(project, null, 1));