Replace direct DB access with API client calls throughout MainForm,
DxfExportService, PartExporter, and Program. Add title field to UI,
async export flow, API-based dropdown loading, and file uploads.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add separate EquipmentNo and DrawingNo fields alongside the combined
DrawingNumber, plus a Title field for labeling exports. Updated across
Core model, DbContext, API DTOs, and ExportDXF models.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add database-first lookup for equipment/drawing number auto-fill when
reopening previously exported files
- Remove prefix prepending for named parts (only use prefix for PT## BOM items)
- Create ExportRecord/BomItem/CutTemplate chains for Part and Assembly
exports, not just Drawings
- Add auto-incrementing item numbers across drawing numbers
- Add content hashing (SHA256) for DXF and PDF versioning with
stash/archive pattern
- Add EF Core initial migration for ExportDxfDb
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
BomItems are now created for every BOM item regardless of whether they
produce a DXF. Sheet metal cut data (thickness, k-factor, bend radius,
DXF path, content hash) moved to a new CutTemplate entity with a 1:1
optional relationship. Non-sheet-metal items are counted as "skipped"
instead of "failed" in the export summary. Added Cut Templates tab to
the UI with a DataGridView for viewing cut template records.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove CutFabApiClient and DrawingSelectionForm - exports no longer
depend on an external API server. DXF/PDF files are saved directly
to a configurable output folder, and export records are persisted
to a local SQL Server database via EF Core.
Replace Color-based progress logging with LogLevel enum across all
services. Redesign MainForm with equipment/drawing filter dropdowns
populated from export history, log row coloring by severity, and
simplified startup flow in Program.cs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add EF Core DbContext with ExportRecord and BomItem entities for
tracking export history locally. Add FileExportService for saving
DXF and PDF files to a configurable output folder.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Added BomItem model with sheet metal properties (thickness, k-factor, bend radius) and LogEvent model for structured logging with action tracking.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Export to temp directory and auto-upload PDF/DXF
- Resolve or create drawing via API using selected Equipment ID
- Upload DXFs per-part and create BOM items
- Attempt auto-linking of templates after export
- Add EquipmentId to ExportContext