some corrections

This commit is contained in:
pi-squared-studio 2025-11-25 23:44:20 +03:00
parent 61a8989125
commit fa3ba9a510
2 changed files with 3 additions and 2 deletions

View file

@ -12530,8 +12530,9 @@ void Plater::Calib_Practical_Flow_Ratio(const Calib_Params& params) {
print_config->set_key_value("alternate_extra_wall", new ConfigOptionBool(false));
print_config->set_key_value("detect_thin_wall", new ConfigOptionBool(false));
print_config->set_key_value("ironing_type", new ConfigOptionEnum<IroningType>(IroningType::NoIroning));
print_config->set_key_value("top_surface_speed", new ConfigOptionFloat(params.speeds[0])); // internal_solid_speed
print_config->set_key_value("internal_solid_infill_speed", new ConfigOptionFloat(params.speeds[0])); // internal_solid_speed
print_config->set_key_value("initial_layer_infill_speed", new ConfigOptionFloat(20));
//print_config->set_key_value("initial_layer_infill_speed", new ConfigOptionFloat(20));
print_config->set_key_value("seam_slope_type", new ConfigOptionEnum<SeamScarfType>(SeamScarfType::None));
print_config->set_key_value("gap_fill_target", new ConfigOptionEnum<GapFillTarget>(GapFillTarget::gftNowhere));
print_config->set_key_value("fuzzy_skin", new ConfigOptionEnum<FuzzySkinType>(FuzzySkinType::None));

View file

@ -1607,7 +1607,7 @@ void Practical_Flow_Ratio_Test_Dlg::on_start(wxCommandEvent& event) {
MessageDialog msg_dlg(nullptr, _L("Please input valid values:\n(0.5 <= Flow Ratio <= 1.5)"), wxEmptyString, wxICON_WARNING | wxOK);
msg_dlg.ShowModal();
return;
} else if (!m_tiQuantity->GetTextCtrl()->GetValue().ToDouble(&m_params.step) || m_params.step < 4 || m_params.step > 20) {
} else if (!m_tiQuantity->GetTextCtrl()->GetValue().ToDouble(&m_params.step) || m_params.step < 4 || m_params.step > 40) {
MessageDialog msg_dlg(nullptr, _L("Please input valid layer value:\n(4 <= Number of Calibration Layers <= 40)"), wxEmptyString, wxICON_WARNING | wxOK);
msg_dlg.ShowModal();
return;