[B5] [B4] [70] IFC Schweiz: Klassifikation (eBKP-H/Ebene), SIA-416-Zonen, Geschoss-GF; Import liest Klassifikation und Zonen
Export: IfcClassification/-Reference/RelAssociatesClassification als Option im Export-Dialog (eBKP-H-Hauptgruppen je Bauteilart, Modell-Ebene als System "Dossier-Ebenen"; CLI --ebkph --ebenen), IfcZone je SIA-416-Kategorie mit IfcRelAssignsToGroup, Qto_BuildingStoreyBaseQuantities und CH_Qto_SIA416 je Geschoss. Achsraster nicht exportiert (Modell ohne Raster). Import: Klassifikation (Bauteil/Typ) gelesen, Name der Kontext-Meshes, Zählung in der Meldung; IfcZone liefert die SIA-416-Kategorie des Raums. Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
15 files changed
+945
-16
No files matched your search
@@ -24,7 +24,7 @@ import { isPdfFile, pdfPageToImport, readPdfVectorPage } from "../io/pdfVector";
|
||||
import { planDashLineStyles } from "../io/pdfLineStyles";
|
||||
import type { PdfVectorPage } from "../io/pdfVector";
|
||||
import { exportScheduleCsv } from "../export/exportSchedule";
|
||||
import { exportIfcSpf } from "../export/exportIfc";
|
||||
import { exportIfcSpf, type IfcExportOptions } from "../export/exportIfc";
|
||||
import { loadFileio } from "../engine/fileioWasm";
|
||||
import { exportProjectStep } from "../export/exportStep";
|
||||
import { exportGlb, exportObj, exportStl } from "../export/exportMesh";
|
||||
@@ -587,7 +587,7 @@ export function useProjectFileActions(
|
||||
// Führt den gewählten Direkt-Export (CSV/IFC/OBJ/STL) mit dem im Dialog
|
||||
// gewählten Dateinamen aus. Erzeugung aus dem jeweiligen reinen Kern, Download
|
||||
// über den robusten Helfer.
|
||||
const runExport = (format: ExportSaveFormat, filename: string) => {
|
||||
const runExport = (format: ExportSaveFormat, filename: string, ifcOptions?: IfcExportOptions) => {
|
||||
switch (format) {
|
||||
case "csv":
|
||||
downloadTextFile("" + exportScheduleCsv(project), filename, "text/csv;charset=utf-8;");
|
||||
@@ -595,7 +595,7 @@ export function useProjectFileActions(
|
||||
case "ifc":
|
||||
// IFC schreibt Rust (Format-Modul pkgFileIo, wird beim ersten Export nachgeladen).
|
||||
void loadFileio()
|
||||
.then(() => downloadTextFile(exportIfcSpf(project), filename))
|
||||
.then(() => downloadTextFile(exportIfcSpf(project, ifcOptions), filename))
|
||||
.catch((e) => notify(`${t("ifc.export.failed")}: ${e instanceof Error ? e.message : String(e)}`, "error"));
|
||||
break;
|
||||
case "obj":
|
||||
|
||||
Reference in new issue
Block a user