feat(export): integrate CutFab API in export flow

- 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
This commit is contained in:
AJ
2025-10-28 17:24:16 -04:00
parent b122b88435
commit 1ec72bc98f
2 changed files with 194 additions and 89 deletions

View File

@@ -32,6 +32,11 @@ namespace ExportDXF.Services
/// </summary>
public string FilePrefix { get; set; }
/// <summary>
/// Selected Equipment ID for API operations (optional).
/// </summary>
public int? EquipmentId { get; set; }
/// <summary>
/// Cancellation token for canceling the export operation.
/// </summary>
@@ -127,4 +132,4 @@ namespace ExportDXF.Services
return SolidWorksApp?.NewDocument(templatePath, paperSize, width, height) as ModelDoc2;
}
}
}
}