mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
NEW: export toolpath to obj
jira: STUDIO-12105 Change-Id: I4cd110a5b63996b5dc81cb307ac6d257a817bc51 (cherry picked from commit 67f018c0eebbd467ac76e35576a5c8c9412bb67f) (cherry picked from commit 09c9493fc44cf1da417ab2fd836d97d1501a2550)
This commit is contained in:
@@ -2496,6 +2496,11 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
append_menu_item(export_menu, wxID_ANY, _L("Export G-code") + dots/* + "\t" + ctrl + "G"*/, _L("Export current plate as G-code"),
|
append_menu_item(export_menu, wxID_ANY, _L("Export G-code") + dots/* + "\t" + ctrl + "G"*/, _L("Export current plate as G-code"),
|
||||||
[this](wxCommandEvent&) { if (m_plater) m_plater->export_gcode(false); }, "menu_export_gcode", nullptr,
|
[this](wxCommandEvent&) { if (m_plater) m_plater->export_gcode(false); }, "menu_export_gcode", nullptr,
|
||||||
[this]() {return can_export_gcode(); }, this);
|
[this]() {return can_export_gcode(); }, this);
|
||||||
|
|
||||||
|
append_menu_item(export_menu, wxID_ANY, _L("Export toolpaths as OBJ") + dots, _L("Export toolpaths as OBJ"),
|
||||||
|
[this](wxCommandEvent&) { if (m_plater != nullptr) m_plater->export_toolpaths_to_obj(); }, "", nullptr,
|
||||||
|
[this]() {return can_export_toolpaths(); }, this);
|
||||||
|
|
||||||
append_menu_item(
|
append_menu_item(
|
||||||
export_menu, wxID_ANY, _L("Export Preset Bundle") + dots /* + "\t" + ctrl + "E"*/, _L("Export current configuration to files"),
|
export_menu, wxID_ANY, _L("Export Preset Bundle") + dots /* + "\t" + ctrl + "E"*/, _L("Export current configuration to files"),
|
||||||
[this](wxCommandEvent &) { export_config(); },
|
[this](wxCommandEvent &) { export_config(); },
|
||||||
|
|||||||
Reference in New Issue
Block a user