mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Take bottom layer speed ratio into account when estimating layer time. #334
This commit is contained in:
		
							parent
							
								
									94cfc1c05f
								
							
						
					
					
						commit
						3ed5171d20
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue