Cap max volumetric speed limit for PA line test

#94
This commit is contained in:
SoftFever 2023-01-05 19:39:12 +08:00
parent d59519d253
commit 53d3ab15e2
3 changed files with 26 additions and 9 deletions

View file

@ -12,6 +12,11 @@ public:
~calib_pressure_advance() {}
std::string generate_test(double start_pa = 0, double step_pa = 0.002, int count = 50);
void set_speed(double fast = 100.0,double slow = 20.0) {
m_slow_speed = slow;
m_fast_speed = fast;
}
double& line_width() { return m_line_width; };
private:
std::string move_to(Vec2d pt);
@ -22,5 +27,7 @@ private:
GCode* mp_gcodegen;
double m_length_short, m_length_long;
double m_space_y;
double m_slow_speed, m_fast_speed;
double m_line_width;
};
} // namespace Slic3r