[K4] S2 (Zwischenstand): Treppen (3D) aus dem Dokument

This commit is contained in:
karim committed 2026-10-28 01:58:06 +01:00
1 parent 6ebe85fdf6
commit 478135e204
5 files changed
+157 -1

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ export class ProjectDocument {
* Abfrage auf dem typisierten Projekt im Kern. Das Ergebnis ist JSON; ein Fehler (Projekt passt
* nicht zum Modell, unbekannte Abfrage) wirft.
*/
query<T>(name: "kennzahlen" | "siteCheck" | "buildingFootprint" | "modelTop" | "shadows" | "slabs" | "columnMeshes" | "walls" | "openingMeshes", args: number[] = []): T {
query<T>(name: "kennzahlen" | "siteCheck" | "buildingFootprint" | "modelTop" | "shadows" | "slabs" | "columnMeshes" | "walls" | "openingMeshes" | "stairSlabs" | "stairMeshes" | "stairRailings", args: number[] = []): T {
const text = this.handle ? core().doc_query_args(this.handle, name, Float64Array.from(args)) : "";
if (!text) throw new Error(`Kern-Abfrage „${name}": Projekt passt nicht zum Kern-Modell`);
return JSON.parse(text) as T;