mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
FlowRate
This commit is contained in:
BIN
resources/calib/FlowRate/flowrate_coarse.3mf
Normal file
BIN
resources/calib/FlowRate/flowrate_coarse.3mf
Normal file
Binary file not shown.
BIN
resources/calib/FlowRate/flowrate_fine.3mf
Normal file
BIN
resources/calib/FlowRate/flowrate_fine.3mf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1572,7 +1572,7 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
//auto calibrationMenu = generate_calibration_menu();
|
//auto calibrationMenu = generate_calibration_menu();
|
||||||
auto calibrationMenu = new wxMenu();
|
auto calibrationMenu = new wxMenu();
|
||||||
auto flowrate_menu = 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)
|
if (m_plater)
|
||||||
m_plater->calib_flowrate(1);
|
m_plater->calib_flowrate(1);
|
||||||
},
|
},
|
||||||
@@ -1582,7 +1582,7 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
;
|
;
|
||||||
},
|
},
|
||||||
this);
|
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)
|
if (m_plater)
|
||||||
m_plater->calib_flowrate(2);
|
m_plater->calib_flowrate(2);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5413,10 +5413,10 @@ void Plater::calib_flowrate(int pass)
|
|||||||
|
|
||||||
if (pass == 1)
|
if (pass == 1)
|
||||||
add_model_calibration(false,
|
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
|
else
|
||||||
add_model_calibration(false,
|
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
|
//B34
|
||||||
|
|||||||
Reference in New Issue
Block a user