This commit is contained in:
QIDI TECH
2023-08-26 14:52:45 +08:00
parent e452f65575
commit 0886a00cae
6 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1572,7 +1572,7 @@ void MainFrame::init_menubar_as_editor()
//auto calibrationMenu = generate_calibration_menu();
auto calibrationMenu = new wxMenu();
auto flowrate_menu = new wxMenu();
append_menu_item(flowrate_menu, wxID_ANY, _L("Pass 1"), _L("Flow rate test - Pass 1"), [this](wxCommandEvent &) {
append_menu_item(flowrate_menu, wxID_ANY, _L("Coarse"), _L("Flow rate test - Pass 1"), [this](wxCommandEvent &) {
if (m_plater)
m_plater->calib_flowrate(1);
},
@@ -1582,7 +1582,7 @@ void MainFrame::init_menubar_as_editor()
;
},
this);
append_menu_item(flowrate_menu, wxID_ANY, _L("Pass 2"), _L("Flow rate test - Pass 2"), [this](wxCommandEvent &) {
append_menu_item(flowrate_menu, wxID_ANY, _L("Fine"), _L("Flow rate test - Pass 2"), [this](wxCommandEvent &) {
if (m_plater)
m_plater->calib_flowrate(2);
},

View File

@@ -5413,10 +5413,10 @@ void Plater::calib_flowrate(int pass)
if (pass == 1)
add_model_calibration(false,
(boost::filesystem::path(Slic3r::resources_dir()) / "calib" / "filament_flow" / "flowrate-test-pass1.3mf").string());
(boost::filesystem::path(Slic3r::resources_dir()) / "calib" / "FlowRate" / "flowrate_coarse.3mf").string());
else
add_model_calibration(false,
(boost::filesystem::path(Slic3r::resources_dir()) / "calib" / "filament_flow" / "flowrate-test-pass2.3mf").string());
(boost::filesystem::path(Slic3r::resources_dir()) / "calib" / "FlowRate" / "flowrate_fine.3mf").string());
}
//B34