From 606ee7ec4bd5dba83e3756b69e763040f46e8a21 Mon Sep 17 00:00:00 2001 From: thewildmage Date: Thu, 13 Jul 2023 20:50:10 -0600 Subject: [PATCH] Fix wrong number thickness in PA Line --- src/libslic3r/calib.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/calib.cpp b/src/libslic3r/calib.cpp index 91ef56d756..9664089be8 100644 --- a/src/libslic3r/calib.cpp +++ b/src/libslic3r/calib.cpp @@ -280,6 +280,13 @@ std::string CalibPressureAdvanceLine::print_pa_lines(double start_x, double star filament_diameter, print_flow_ratio ); + const double number_e_per_mm = CalibPressureAdvance::e_per_mm( + m_number_line_width, + m_height_layer, + m_nozzle_diameter, + filament_diameter, + print_flow_ratio + ); const double fast = CalibPressureAdvance::speed_adjust(m_fast_speed); const double slow = CalibPressureAdvance::speed_adjust(m_slow_speed); @@ -318,9 +325,9 @@ std::string CalibPressureAdvanceLine::print_pa_lines(double start_x, double star start_x + m_length_short + m_length_long + m_length_short + 3, y_pos + i * m_space_y + m_space_y / 2, start_pa + i * step_pa, - DrawDigitMode::Left_To_Right, + m_draw_digit_mode, m_number_line_width, - m_height_layer, + number_e_per_mm, writer ); }