mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-04 17:07:08 +02:00
Take bottom layer speed ratio into account when estimating layer time. #334
This commit is contained in:
@@ -164,7 +164,9 @@ sub extrude_path {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($Slic3r::cooling) {
|
if ($Slic3r::cooling) {
|
||||||
$self->elapsed_time($self->elapsed_time + (unscale($path_length) / $self->speeds->{$self->last_speed} * 60));
|
my $path_time = unscale($path_length) / $self->speeds->{$self->last_speed} * 60;
|
||||||
|
$path_time /= $Slic3r::bottom_layer_speed_ratio if $self->layer->id == 0;
|
||||||
|
$self->elapsed_time($self->elapsed_time + $path_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $gcode;
|
return $gcode;
|
||||||
|
|||||||
Reference in New Issue
Block a user