[266] Befunde 9–11, 13–15: Deckenloch zur Treppe, Geschosshöhe 2.90 m, Projektname änderbar, LV95 auf mm, IFC-Raumname, Schnitt A meidet Wandachsen

Treppe aufwärts über die volle Geschosshöhe legt im selben Commit eine Aussparung (Treppenumriss) in die Decke (ein Undo-Schritt; Wendeltreppe weiter von Hand).
Neues Projekt: Geschosshöhe 2.90 m (lichte Höhe 2.60 m), Beispielprojekte unverändert.
Projektname im Panel Mappe (Publikation) änderbar, über Ops.
Getippte LV95-Koordinaten werden auf mm gerundet.
IfcSpace.Name = Raumnummer (sonst Raumname), LongName = Raumname.
Automatischer Schnitt weicht parallelen Wandachsen aus.
This commit is contained in:
Claude committed 2026-11-16 15:26:11 +00:00
1 parent bf98754eea
commit ea4c1a69a9
20 files changed
+281 -39

No files matched your search

+10 -1
View File
@@ -595,6 +595,9 @@ export const sampleProject: Project = {
* Leeres Projekt (nur Bibliotheken, keine Geometrie) — für manuelle Tests, die
* ohne das Demo-Haus starten wollen (z. B. Standort-Import auf leerer Fläche).
*/
/** [266] Geschosshöhe neuer Projekte (m), auch für „Geschoss hinzufügen“. */
export const EMPTY_FLOOR_HEIGHT = 2.9;
export const emptyProject: Project = {
...sampleProject,
id: "empty",
@@ -611,5 +614,11 @@ export const emptyProject: Project = {
context: [],
// [221] Schnitt A und Ansicht Süd folgen dem ersten Gebauten (bzw. der Parzelle), bis man sie bearbeitet
// (Kern `auto_lines.rs`) — sonst lägen sie bei einem Projekt in Landeskoordinaten oder abseits des Nullpunkts daneben.
drawingLevels: sampleProject.drawingLevels.map((l) => (l.kind === "section" || l.kind === "elevation" ? { ...l, autoLine: true } : l)),
// [266] Geschosshöhe 2.90 m (CH-Wohnbau 2.80–3.00 m): bei 30 cm Decke bleiben 2.60 m lichte Höhe (≥ 2.40 m für Wohnräume);
// die 2.60 m des Beispielprojekts ergaben nur 2.30 m. Die Beispielprojekte bleiben unverändert.
drawingLevels: sampleProject.drawingLevels.map((l) => {
if (l.kind === "section" || l.kind === "elevation") return { ...l, autoLine: true };
if (l.kind !== "floor") return l;
return { ...l, floorHeight: EMPTY_FLOOR_HEIGHT, baseElevation: l.id === "og" ? EMPTY_FLOOR_HEIGHT : l.baseElevation };
}),
};