Replace all with stl (#11145)

* Add "Replace all from STL" command
this operates on the currently selected plate or on the selection

* Add more translations for "Replace all from STL"

* build fix

* "Replace all with STL" also works with multiple selected plates

* fix build

* replace all from stl: better error handling and a nicer status message box

---------

Co-authored-by: Nils Hasler <hasler@thecaptury.com>
This commit is contained in:
nilshasler
2025-10-29 16:30:23 +08:00
committed by GitHub
co-authored by Nils Hasler
parent e3f049829b
commit dedfd9d4ed
6 changed files with 219 additions and 4 deletions
+2
View File
@@ -491,6 +491,7 @@ public:
void reload_from_disk();
void replace_with_stl();
void replace_all_with_stl();
void reload_all_from_disk();
bool has_toolpaths_to_export() const;
void export_toolpaths_to_obj() const;
@@ -667,6 +668,7 @@ public:
bool can_redo() const;
bool can_reload_from_disk() const;
bool can_replace_with_stl() const;
bool can_replace_all_with_stl() const;
bool can_mirror() const;
bool can_split(bool to_objects) const;
#if ENABLE_ENHANCED_PRINT_VOLUME_FIT