Export to bambu studio

This commit is contained in:
MatterHackers 2023-03-11 12:17:09 -08:00
parent 25123d29a6
commit 57ac7d9415
4 changed files with 174 additions and 0 deletions

View file

@ -245,6 +245,19 @@ namespace MatterHackers.MatterControl
return;
}
if (exportPlugin is ExportStlToExecutable)
{
ApplicationController.Instance.Tasks.Execute(
"Saving".Localize() + "...",
printer,
async (reporter, cancellationTokenSource) =>
{
await exportPlugin.Generate(libraryItems, null, reporter, cancellationTokenSource.Token);
});
return;
}
UiThread.RunOnIdle(() =>
{
string title = ApplicationController.Instance.ProductName + " - " + "Export File".Localize();