[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

+1 -1
View File
@@ -49,7 +49,7 @@ function expectRoomHeightsAndLayers(p: Project, c: Check) {
const rows = roomBook(p).rows;
expect(rows.length).toBeGreaterThan(0);
for (const row of rows) {
const h = c.stats.spaceHeights![row.number || row.id];
const h = c.stats.spaceHeights![row.number || row.name || row.id];
expect(h, row.number).toBeDefined();
expect(Math.abs(h.Height - row.clearHeight)).toBeLessThan(0.01);
expect(Math.abs(h.FinishCeilingHeight - row.heightMean)).toBeLessThan(0.01);
+8
View File
@@ -543,6 +543,14 @@ describe("Räume als IfcSpace", () => {
const contained = spf.split("\n").filter((l) => /=IFCRELCONTAINEDINSPATIALSTRUCTURE\(/.test(l) && spaceIds.some((id) => new RegExp(`${id}[,)]`).test(l)));
expect(contained).toEqual([]);
});
it("[266] Name = Raumnummer, LongName = Raumname; ohne Nummer der Raumname statt der internen Id", () => {
const p = withRooms();
p.rooms![0] = { ...p.rooms![0], stamp: { number: "1.01" } } as NonNullable<Project["rooms"]>[number];
const spaces = exportIfcSpf(p).split("\n").filter((l) => /=IFCSPACE\(/.test(l));
expect(spaces[0]).toMatch(/,'1\.01',\$,\$,#\d+,#\d+,'K\\X2\\00FC\\X0\\che',/);
expect(spaces[1]).toMatch(/,'Gang',\$,\$,#\d+,#\d+,'Gang',/);
expect(spaces.some((l) => l.includes("'R1'") || l.includes("'R2'"))).toBe(false);
});
it("Netto-Geschossfläche und SIA-416-Kategorie", () => {
const spf = exportIfcSpf(withRooms());
expect(spf).toMatch(/IFCQUANTITYAREA\('NetFloorArea',\$,\$,12\.0,\$\)/);