FIX: PA cali results are not obvious(0.2mm diameter)

Jira: XXXX

Change-Id: Ie7dd6f39f8cc396f65bdb9ef0a8df25b0241518e
This commit is contained in:
zhimin.zeng 2023-09-11 14:47:23 +08:00 committed by Lane.Wei
parent 37feb7fbfa
commit 3347ce92df
1 changed files with 1 additions and 1 deletions

View File

@ -1963,7 +1963,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
double filament_max_volumetric_speed = m_config.option<ConfigOptionFloats>("filament_max_volumetric_speed")->get_at(initial_extruder_id);
Flow pattern_line = Flow(pa_test.line_width(), 0.2, m_config.nozzle_diameter.get_at(0));
auto fast_speed = std::min(print.default_region_config().outer_wall_speed.value, filament_max_volumetric_speed / pattern_line.mm3_per_mm());
auto slow_speed = std::max(20.0, fast_speed / 10.0);
auto slow_speed = fast_speed / 4; /*std::max(20.0, fast_speed / 10.0);*/
pa_test.set_speed(fast_speed, slow_speed);
pa_test.draw_numbers() = print.calib_params().print_numbers;
auto params = print.calib_params();