Files
DOSSIER/src/core/extra.ts
T
Claude a1ede21e17 [K4] S3: Gruppen-Logik im Kern (groups.rs)
Transitive Mitgliedschaft, sichtbare Gruppe im Isolations-Kontext und Auswahl
um Gruppen erweitern rechnet der Kern (Abfragen groupMembership/containingGroup/
expandToGroups, Fassade model/groups.ts); TS-Rechnung in groupActions.ts gelöscht,
dort bleiben Op-Bauer, Dimmen und mergeMembership. Einmaliger Vergleich: 16000
Abfragen auf Zufallsprojekten gleich der alten TS-Fassung.
2026-10-29 04:40:08 +00:00

56 lines
4.5 KiB
TypeScript

// Von Hand gepflegter Teil der Fassade: Kern-Einstiege, die nicht (nur) die Hülle braucht — Datei-
// Format, Exporte, WASM-Quelle. Genutzt von `dossier-cli` (src/cli), das NUR `src/core` importiert.
export { parseProjectFile, serializeProject, PROJECT_FORMAT_VERSION } from "../io/projectFormat";
export { exportIfcSpf } from "../export/exportIfc";
export { buildPlanDxf } from "../export/exportDxf";
export { buildPlanDwg } from "../export/exportDxf";
export { buildPlanDxfBinary } from "../export/exportDxf";
export { loadFileio } from "../engine/fileioWasm";
export { readIfc, ifcToImportedMeshes } from "../io/ifcImport";
export { readIfcElements, ifcElementsToProject } from "../io/ifcElements";
export { parseBcf, writeBcf, bcfInfo } from "../io/bcf";
export { projectGeoOrigin } from "../model/geoRebase";
export { ensureContextCategories } from "../model/contextCategories";
export { projectToWorldCoords } from "../model/geoRebase";
export { exportScheduleCsv } from "../export/exportSchedule";
export { exportObj, exportStl, exportGlb, exportGltf } from "../export/exportMesh";
export { exportProjectStep } from "../export/exportStep";
export { planToSvgString } from "../export/planToSvgString";
export { setWasmBytesProvider } from "../engine/wasmSource";
export { initCore, coreReady } from "../engine/coreWasm";
export { applyOps, validateProject, validateOps } from "./ops";
export type { CoreOp } from "./ops";
export type { Project, DrawingLevel } from "../model/types";
export { computeKennzahlen, checkRoomProgram, solidVolume } from "../analysis/kennzahlen";
export type { Kennzahlen, ProgramCheck } from "../analysis/kennzahlen";
export { compareRoomProgram, layoutRoomProgram, DEFAULT_PROGRAM_TOLERANCE } from "../analysis/roomProgram";
export { buildProgramSheet, addProgramSheet, addProgramSheetOps, groupColor, defaultSheetLabels } from "../analysis/roomProgramSheet";
export type { ProgramSheet, SheetLabels } from "../analysis/roomProgramSheet";
export type { RoomProgramCompare, RoomProgramLayout, CompareRow, CompareSum, Light, LayoutItem, LayoutGroup } from "../analysis/roomProgram";
export { readSheetFile, suggestMapping, mapRows, importedRows, applyRoomProgram, roomProgramOps, cellNumber, cellText, detectHeaderRow, parseKind, PROGRAM_FIELDS } from "../io/roomProgramImport";
export type { SheetData, SheetCell, Mapping, ColumnMap, ProgramField, ImportLine, ImportMode, SkipReason } from "../io/roomProgramImport";
export { buildProgramReport } from "../export/programReport";
export { computeAreaTable, computeIvhb } from "../analysis/areaTable";
export type { AreaTable, AreaRow, Ivhb, IvhbOptions, AgfBasis } from "../analysis/areaTable";
export { buildAreaReport, areaReportToCsv, parseAreaReportCsv, areaReportToSvg, buildAreaReportPdf } from "../export/areaReport";
export type { AreaReport, AreaReportOptions } from "../export/areaReport";
export { sunPosition, shadowPolygons, shadowOfPrism, projectLatLon } from "../analysis/sun";
export type { SunPosition } from "../analysis/sun";
export { checkSiteRules, allowedArea, multiPolygonArea, buildingFootprint, modelTop } from "../analysis/siteRules";
export type { SiteCheck } from "../analysis/siteRules";
export { sampleProject } from "../model/sampleProject";
export { parseDxf } from "../io/dxfParser";
export { contoursToDrawings, textsToDrawings, planImportCategories, distinctImportLayers } from "../io/dxfToDrawings";
export { emptyProject } from "../model/sampleProject";
export { readPointCloud, readPointCloudFlat, isPointCloudFile, DEFAULT_MAX_POINTS } from "../io/pointCloud";
export type { PointCloudData, PointCloudOptions, PointCloudReport } from "../io/pointCloud";
export { readPdfVectorPage, pdfPageToImport, pdfPageInfo, pdfMetersPerPt, isPdfFile, PDF_SCALES } from "../io/pdfVector";
export type { PdfVectorPage, PdfVectorPath, PdfVectorText } from "../io/pdfVector";
export { readMesh, meshObjectsToImportedMeshes, formatMeshReport, isMeshFile, MESH_UNITS, MESH_UNIT_SCALE } from "../io/meshImport";
export type { MeshObject, MeshImportReport, MeshUnit, MeshUp, MeshPlacement } from "../io/meshImport";
export { addItems, fieldOps, findItem, itemsOf, opsMutation, patchItem, patchItems, removeItems, replaceItem, replaceWithMany, setField, setFieldIfChanged } from "./opsBuild";
export type { EntityCollection, EntityOf, ProjectMutation } from "./opsBuild";
export { EMPTY_MEMBERSHIP, containingGroupId, expandToGroups, isInsideActiveGroup, transitiveMembership } from "../model/groups";
export type { GroupMembership, MemberKind } from "../model/groups";