Add sparse / internal solid infill accel controls (#382)

* Add sparse / internal solid infill accel controls

* infill accel control as %

* update tooltip

* update to abs value
This commit is contained in:
Jason M-H 2023-03-04 04:52:46 -05:00 committed by GitHub
parent 3a670040c7
commit d535d70d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 4 deletions

View file

@ -1476,6 +1476,24 @@ void PrintConfigDef::init_fff_params()
def->ratio_over = "outer_wall_acceleration";
def->set_default_value(new ConfigOptionFloatOrPercent(50,true));
def = this->add("sparse_infill_acceleration", coFloatOrPercent);
def->label = L("Sparse infill");
def->tooltip = L("Acceleration of sparse infill. If the value is expressed as a percentage (e.g. 100%), it will be calculated based on the default acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->mode = comAdvanced;
def->ratio_over = "default_acceleration";
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("internal_solid_infill_acceleration", coFloatOrPercent);
def->label = L("Internal solid infill");
def->tooltip = L("Acceleration of internal solid infill. If the value is expressed as a percentage (e.g. 100%), it will be calculated based on the default acceleration.");
def->sidetext = L("mm/s² or %");
def->min = 0;
def->mode = comAdvanced;
def->ratio_over = "default_acceleration";
def->set_default_value(new ConfigOptionFloatOrPercent(100, true));
def = this->add("initial_layer_acceleration", coFloat);
def->label = L("Initial layer");
def->tooltip = L("Acceleration of initial layer. Using a lower value can improve build plate adhensive");