[K4] S2 (Zwischenstand): Oeffnungs-Einbauteile (3D) aus dem Dokument

This commit is contained in:
karim committed 2026-10-28 01:57:14 +01:00
1 parent 9db2122aae
commit 6ebe85fdf6
4 files changed
+184 -2

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", args: number[] = []): T {
query<T>(name: "kennzahlen" | "siteCheck" | "buildingFootprint" | "modelTop" | "shadows" | "slabs" | "columnMeshes" | "walls" | "openingMeshes", 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;