mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
disable speed check
This commit is contained in:
parent
cca218039c
commit
1943259ac3
1 changed files with 17 additions and 16 deletions
|
@ -1535,22 +1535,23 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
|
||||||
}
|
}
|
||||||
|
|
||||||
// check speed
|
// check speed
|
||||||
if (warning_key.empty()) {
|
// Orca: disable the speed check for now as we don't cap the speed
|
||||||
auto speed_to_check = {"inner_wall_speed", "outer_wall_speed", "sparse_infill_speed", "internal_solid_infill_speed",
|
// if (warning_key.empty()) {
|
||||||
"top_surface_speed", "bridge_speed", "internal_bridge_speed", "gap_infill_speed"};
|
// auto speed_to_check = {"inner_wall_speed", "outer_wall_speed", "sparse_infill_speed", "internal_solid_infill_speed",
|
||||||
const auto max_speed = std::min(m_config.machine_max_speed_x.values[0], m_config.machine_max_speed_y.values[0]);
|
// "top_surface_speed", "bridge_speed", "internal_bridge_speed", "gap_infill_speed"};
|
||||||
warning_key.clear();
|
// const auto max_speed = std::min(m_config.machine_max_speed_x.values[0], m_config.machine_max_speed_y.values[0]);
|
||||||
warning_key = check_motion_ability_region_setting(speed_to_check, max_speed);
|
// warning_key.clear();
|
||||||
if (warning_key.empty() && m_config.travel_speed > max_speed)
|
// warning_key = check_motion_ability_region_setting(speed_to_check, max_speed);
|
||||||
warning_key = "travel_speed";
|
// if (warning_key.empty() && m_config.travel_speed > max_speed)
|
||||||
if (!warning_key.empty()) {
|
// warning_key = "travel_speed";
|
||||||
warning->string = L(
|
// if (!warning_key.empty()) {
|
||||||
"The speed setting exceeds the printer's maximum speed (machine_max_speed_x/machine_max_speed_y).\nOrca will "
|
// warning->string = L(
|
||||||
"automatically cap the print speed to ensure it doesn't surpass the printer's capabilities.\nYou can adjust the "
|
// "The speed setting exceeds the printer's maximum speed (machine_max_speed_x/machine_max_speed_y).\nOrca will "
|
||||||
"maximum speed setting in your printer's configuration to get higher speeds.");
|
// "automatically cap the print speed to ensure it doesn't surpass the printer's capabilities.\nYou can adjust the "
|
||||||
warning->opt_key = warning_key;
|
// "maximum speed setting in your printer's configuration to get higher speeds.");
|
||||||
}
|
// warning->opt_key = warning_key;
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
BOOST_LOG_TRIVIAL(warning) << "Orca: validate motion ability failed: " << e.what() << std::endl;
|
BOOST_LOG_TRIVIAL(warning) << "Orca: validate motion ability failed: " << e.what() << std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue