Files
DOSSIER/src/core/extra.ts
T
Claude f069b816d1 [191] Baugrube mit Bögen: Excavation.outlineBulge, fein geteilt an einer Stelle (ExSpec), glatte Böschung/Arbeitsraum/Verbau
- Modell: `Excavation.outlineBulge` (je Kante), `npm run gen:types`.
- Kern: `Excavation::ring`/`ring_marked` (ring_arc.rs, Pfeilhöhe 5 mm, Punkte auf dem Kreis); `ExSpec::of`
  teilt einmal fein, `edgeSlopes`/`edgeShoring` je Modell-Kante auf die Teilkanten; Böschung, Mengen,
  Gelände-Netz, Schnitt, 3D, Pick rechnen darauf.
- Böschungsschraffur: Läufe zwischen echten Ecken, Striche im gleichen Abstand radial über den Bogen,
  Fächer erst ab 5° Knick.
- Arbeitsraum/Verbau-Versatz: `offset_ring_clean` entfernt Schwalbenschwänze kurzer Bogen-Teilkanten an
  einspringenden Ecken (Erker): Sohle einfach, Prüfung ohne Fehlmarken.
- Verbau: EIN Band je zusammenhängender verbauter Kanten (Plan-Polygon, dichter 3D-Körper, Schnitt mit
  paarweisen Durchgängen).
- Plan: Sohle aus dem fein geteilten Ring (echter Bogen über [169]); Stücke auf dem Gebäude-Umriss
  (≤ 6 mm) ohne Splitter.
- Griffe: `ringArc` für Baugrube, Scheitel-Griff/Einfüge-Raute auf dem Bogen, Spiegeln kehrt Bögen;
  Kontextmenü „Kante als Bogen"/„Kante gerade" an Umriss-Kanten (Decke, Raum, Dach, Baugrube).
- Musterhaus komplex: Baugrube folgt dem Erker; Goldens Ansicht Süd und 3D nachgeführt.
2026-11-12 06:18:18 +00:00

97 lines
7.8 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 { edgeArcToggle, type ArcRingKind } from "../geometry/grips";
export { clampInside, coincidentGripPoints, excavationGripPoints, gripArcWallRadius, gripArcWallResize, gripArcWallTarget, gripAxisLock, gripEdgeTarget, gripPolar, gripPolarPoint, openingGripPoint, openingSheetSlide, openingTypedPosition, contourMarks, sheetHeightDrag, snapSheetHeight, 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";