From 72639ee12a4faa5e7e437edadb8af9f3391aa87e Mon Sep 17 00:00:00 2001 From: SoftFever Date: Fri, 28 Aug 2026 01:26:15 +0800 Subject: [PATCH] wrong place --- src/slic3r/GUI/Plater.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index ad8c6d556b..091770d99b 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -8286,27 +8286,6 @@ std::vector Plater::priv::load_files(const std::vector& input_ if (input_files.empty()) return std::vector(); - // Fusion 360 .f3d cannot be opened: closed Autodesk ShapeManager kernel, no offline reader - // exists. Redirect the user to STEP (which we import natively). Skip any .f3d, load the rest. - { - bool any_f3d = false; - for (const auto& p : input_files) - if (boost::iends_with(p.string(), ".f3d")) { any_f3d = true; break; } - if (any_f3d) { - MessageDialog(static_cast(q), - _L("Fusion 360 .f3d files can't be opened directly — they use Autodesk's " - "closed file format, which no offline tool can read.\n\n" - "In Fusion 360, use File ▸ Export and choose STEP (.step), then open that " - "file here."), - _L("Unsupported format: .f3d"), wxOK | wxICON_INFORMATION).ShowModal(); - std::vector kept; - for (const auto& p : input_files) - if (!boost::iends_with(p.string(), ".f3d")) kept.push_back(p); - if (kept.empty()) return std::vector(); - return load_files(kept, strategy, ask_multi); - } - } - if (!input_files.empty()) q->m_3mf_path = input_files[0].string();