mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 02:59:01 +08:00
Take bottom layer speed ratio into account when estimating layer time. #334
This commit is contained in:
parent
94cfc1c05f
commit
3ed5171d20
@ -164,7 +164,9 @@ sub extrude_path {
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user