Modell: Ceiling.outlineBulge/openingsBulge, Roof.outlineBulge/holesBulge, Room.boundaryBulge (Konvention wie Wand/Polylinie). Kern ring_arc.rs: feine Teilung (>= 48 Teile je Halbkreis, Pfeilhöhe <= 0.25 mm, Punkte exakt auf dem Kreis), exakte Fläche/Umfang, Bögen aus Wandkreisen (fit_arcs, Raum "innen" an Bogenwänden). Ableitungen lesen ring(): Plan, Schnitt, Ansicht, 3D, Schatten, Raumbuch, Kennzahlen, Flächenbilanz, IFC, Fang, Baurecht; Ausgaben fassen die Bögen über arc_fit zu echten Bögen. Flächen exakt in Objekt-Info, Bauteil- und Wärmeschutzliste, Raumbilanz. 3D: Plattenrand mit geteilten Normalen an fein geteilten Bögen (render3d extrude_slab, Knick < 10 Grad, Kanten <= 1 m), Aussenrichtung aus dem Umlaufsinn statt Schwerpunkt. [178] Deckenauflager auch an Bogenwänden: Kreisringsektor von 2 cm vor der Aussenfläche bis Aussenkante Kern, Enden an den Stosslinien. Attika: beim Reparieren kurzer Kanten zuerst die umklappenden (der Bogen bleibt rund). Griffe: Scheitel-Griff (ringArc), Einfügen teilt den Bogen auf dem Kreis, Löschen/Aufräumen fügt Bögen eines Kreises zusammen, Spiegeln kehrt die Bögen; Vorschau beim Eck-Zug mit Bögen. Musterhaus komplex: Erker-Decken, Spindel-Loch, Erker-Dach als echte Bögen; die drei Erker-Räume übernehmen den Wandbogen. Goldens nachgeführt (Plan/Ansicht/3D Musterhaus komplex). Geprüft: cargo test core (1453) und render3d, vitest (2815), tsc; CLI-Plan/-Schnitt und render_png (Software) im Linux-Container angesehen. Nicht in der Tauri-App/auf dem Mac geprüft.
96 lines
7.7 KiB
TypeScript
96 lines
7.7 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 { readIfcFlat } from "../io/ifcImport";
|
|
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 } from "../engine/coreWasm";
|
|
export { applyOps, validateProject, validateOps } from "./ops";
|
|
export { projectWarnings } from "./ops";
|
|
export type { CoreOp } from "./ops";
|
|
export type { Project, DrawingLevel, ViewTemplate } 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 { openingSchedule, buildOpeningReport, roomsText, externalText, swingText } from "../export/openingSchedule";
|
|
export type { OpeningScheduleRow } from "../export/openingSchedule";
|
|
export { revealColumns, revealArea } from "../export/openingSchedule";
|
|
export type { RevealArea } from "../export/openingSchedule";
|
|
export { elementSchedule, uValueOf, uValueText, buildElementReport } from "../export/elementSchedule";
|
|
export type { ElementScheduleRow, UValueResult, ElementKind } from "../export/elementSchedule";
|
|
export { roomBook, buildRoomBookReport, usageLabel, hasSlope, ROOM_USAGES } from "../export/roomBook";
|
|
export type { RoomBook, RoomBookRow, FinishQty, WallSide } from "../export/roomBook";
|
|
export { sheetTables, createTable, drawTablesPdf, tableCatalog, tableLabels, tableSourceLabel, TABLE_SOURCES } from "../export/sheetTable";
|
|
export type { TableOut, TablePrim, TableColumn } from "../export/sheetTable";
|
|
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 { siteEnvelope3d } from "../analysis/siteRules";
|
|
export { excavationQuantities, type ExcavationQuantity } from "../analysis/excavation";
|
|
export type { SiteCheck } from "../analysis/siteRules";
|
|
export { sampleProject } from "../model/sampleProject";
|
|
export { parseDxf } from "../io/dxfParser";
|
|
export { ProjectDocument, sharedDocument } from "./document";
|
|
export { withDocument } from "./document";
|
|
export { emptyProject } from "../model/sampleProject";
|
|
export { buildComplexSampleProject } from "../model/sampleProjectComplex";
|
|
export { buildBigSampleProject } from "../model/sampleProjectBig";
|
|
export { readPointCloud, readPointCloudFlat, isPointCloudFile, DEFAULT_MAX_POINTS } from "../io/pointCloud";
|
|
export type { PointCloudData, PointCloudOptions, PointCloudReport } from "../io/pointCloud";
|
|
export { readPdfVector, pdfImport, pdfPageInfo, isPdfFile, PDF_SCALES } from "../io/pdfVector";
|
|
export type { PdfVectorPage, PdfVectorPath, PdfVectorText } from "../io/pdfVector";
|
|
export { readMesh, readMeshFlat, formatMeshReport, isMeshFile, MESH_UNITS, MESH_UNIT_SCALE } from "../io/meshImport";
|
|
export type { MeshImportReport, MeshUnit, MeshUp, MeshPlacement } from "../io/meshImport";
|
|
export { addedItems } from "./opsBuild";
|
|
export { addItems, fieldOps, findItem, itemsOf, opsMutation, patchItem, patchItems, removeItems, replaceItem, replaceWithMany, setField, setFieldIfChanged } from "./opsBuild";
|
|
export { cmdMutation } from "./document";
|
|
export type { EntityCollection, EntityOf, ProjectMutation } from "./opsBuild";
|
|
export { EMPTY_MEMBERSHIP, containingGroupId, expandToGroups, isInsideActiveGroup, transitiveMembership } from "../model/groups";
|
|
export type { GroupMembership, MemberKind } from "../model/groups";
|
|
export { arcApex, drawingVertices, gripPt, openEdges, polylineEdgeGrips, ringEdges } from "../geometry/grips";
|
|
export { verticalExtents } from "../geometry/grips";
|
|
export type { VerticalExtent } from "../geometry/grips";
|
|
export type { GripRequest, RingKind } from "../geometry/grips";
|
|
export { clampInside, coincidentGripPoints, excavationGripPoints, gripArcWallRadius, gripArcWallResize, gripArcWallTarget, gripAxisLock, gripEdgeTarget, gripPolar, gripPolarPoint, openingGripPoint, openingSheetSlide, openingTypedPosition, sheetHeightDrag, stairMoveHandle, stairParamPoints, wallGripPoints } from "../geometry/gripDrag";
|
|
export type { EdgeDrive, GripLocks, SheetHeightKind } from "../geometry/gripDrag";
|
|
export { openingPreviewProject, openingPreviewSvgs } from "../plan/openingPreview";
|
|
export type { OpeningPreviewSvgs } from "../plan/openingPreview";
|
|
export { surfaceOpeningInfo, surfaceOpeningGrips, surfaceOpeningGripPatch } from "../plan/surfaceOpening";
|
|
export type { SurfaceOpeningInfo } from "../plan/surfaceOpening";
|
|
export { AI_TOOLS, AI_BRIDGE_DEFAULT_PORT, aiText, aiToolDef, hmacHex, randomHex, sameMac } from "./aiToolDefs";
|
|
export type { AiToolDef, AiToolResult, AiBridgeMsg } from "./aiToolDefs";
|
|
export { callAiTool } from "./aiTools";
|
|
export type { AiHost } from "./aiTools";
|
|
export { PRESENTATION_TEMPLATE_ID, presentationDefaults, presentationSheetOps, planPresentationSheet } from "../plan/presentationSheet";
|
|
export type { PresentationOptions, PresentationPlan, PresentationLabels } from "../plan/presentationSheet";
|
|
export { lineEndsOf, lineEndsCode, lineEndsFromCode, lineEndsSvgAttrs, planLineEndsProps, MITER_LIMIT as LINE_MITER_LIMIT } from "../model/lineEnds";
|
|
export type { LineEnds } from "../model/lineEnds";
|
|
export type { LineCap, LineJoin } from "../model/types";
|
|
export { standardOverrideRules } from "../model/standards";
|
|
export { standardModelViews } from "../model/standards";
|
|
export { recognizeMutation, recognizeReport, recognizeSourceLevels } from "../io/recognizeDrawing";
|
|
export type { RecognizeOptions, RecognizeReport, RecognizeUnclear } from "../io/recognizeDrawing";
|