[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:
20 files changed
+281
-39
No files matched your search
@@ -0,0 +1,16 @@
|
||||
// [266] Neues Projekt: Geschosshöhe praxisgerecht (lichte Höhe ≥ 2.40 m), Beispielprojekte unverändert.
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { emptyProject, sampleProject } from "./sampleProject";
|
||||
|
||||
describe("Geschosshöhe neuer Projekte [266]", () => {
|
||||
it("lichte Höhe ≥ 2.40 m über der Decke des Typs, Geschosse gestapelt", () => {
|
||||
const floors = emptyProject.drawingLevels.filter((l) => l.kind === "floor");
|
||||
const slab = (emptyProject.ceilingTypes ?? [])[0].layers.reduce((a, l) => a + l.thickness, 0);
|
||||
for (const f of floors) expect((f.floorHeight ?? 0) - slab).toBeGreaterThanOrEqual(2.4);
|
||||
expect(floors[0].floorHeight).toBe(2.9);
|
||||
expect(floors[1].baseElevation).toBe(2.9);
|
||||
});
|
||||
it("Beispielprojekt bleibt bei 2.60 m", () => {
|
||||
expect(sampleProject.drawingLevels.find((l) => l.id === "eg")!.floorHeight).toBe(2.6);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user