mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 15:38:43 +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 = 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);
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user