Allow to express gap_fill_speed as % over infill_speed

This commit is contained in:
Alessandro Ranellucci 2017-03-05 02:13:00 +01:00
parent 5470e89f7a
commit 619bc4012d
2 changed files with 5 additions and 4 deletions

View File

@ -610,10 +610,10 @@ sub build {
$optgroup->append_single_option_line('infill_speed');
$optgroup->append_single_option_line('solid_infill_speed');
$optgroup->append_single_option_line('top_solid_infill_speed');
$optgroup->append_single_option_line('gap_fill_speed');
$optgroup->append_single_option_line('support_material_speed');
$optgroup->append_single_option_line('support_material_interface_speed');
$optgroup->append_single_option_line('bridge_speed');
$optgroup->append_single_option_line('gap_fill_speed');
}
{
my $optgroup = $page->new_optgroup('Speed for non-print moves');

View File

@ -490,9 +490,10 @@ PrintConfigDef::PrintConfigDef()
def = this->add("gap_fill_speed", coFloat);
def->label = "Gap fill";
def->category = "Speed";
def->tooltip = "Speed for filling gaps. Since these are usually single lines you might want to use a low speed for better sticking. Set zero for auto.";
def->sidetext = "mm/s";
def->cli = "gap-fill-speed=f";
def->tooltip = "Speed for filling gaps. Since these are usually single lines you might want to use a low speed for better sticking. If expressed as percentage (for example: 80%) it will be calculated on the infill speed setting above. Set zero for auto.";
def->sidetext = "mm/s or %";
def->cli = "gap-fill-speed=s";
def->ratio_over = "infill_speed";
def->min = 0;
def->default_value = new ConfigOptionFloat(20);