ENH: add decel para

thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I95a1240c8d6ce7365055e840e526f279a55939e4
This commit is contained in:
qing.zhang 2023-06-16 19:42:43 +08:00 committed by Lane.Wei
parent 4b23192d6f
commit 346321379a
7 changed files with 47 additions and 2 deletions

View file

@ -1411,6 +1411,21 @@ void PrintConfigDef::init_fff_params()
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloat(300));
def = this->add("accel_to_decel_enable", coBool);
def->label = L("Enable accel_to_decel");
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted automatically");
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionBool(false));
def = this->add("accel_to_decel_factor", coPercent);
def->label = L("accel_to_decel");
def->tooltip = L("Klipper's max_accel_to_decel will be adjusted to this % of acceleration");
def->sidetext = L("%");
def->min = 1;
def->max = 100;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionPercent(50));
def = this->add("default_jerk", coFloat);
def->label = L("Default");
def->tooltip = L("Default jerk");