mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 23:03:13 +08:00
NEW: export toolpath to obj
jira: STUDIO-12105 Change-Id: I4cd110a5b63996b5dc81cb307ac6d257a817bc51 (cherry picked from commit 67f018c0eebbd467ac76e35576a5c8c9412bb67f)
This commit is contained in:
parent
2b167ec798
commit
09c9493fc4
@ -2618,6 +2618,11 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
append_menu_item(export_menu, wxID_ANY, _L("Export G-code") + dots/* + "\tCtrl+G"*/, _L("Export current plate as G-code"),
|
append_menu_item(export_menu, wxID_ANY, _L("Export G-code") + dots/* + "\tCtrl+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 /* + "\tCtrl+E"*/, _L("Export current configuration to files"),
|
export_menu, wxID_ANY, _L("Export Preset Bundle") + dots /* + "\tCtrl+E"*/, _L("Export current configuration to files"),
|
||||||
[this](wxCommandEvent &) { export_config(); },
|
[this](wxCommandEvent &) { export_config(); },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user