mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Always limit volumetric speed with Max Volumetric Speed (not just when using autospeed). #2810
This commit is contained in:
		
							parent
							
								
									c37b5c2e87
								
							
						
					
					
						commit
						7b65a35519
					
				
					 2 changed files with 14 additions and 7 deletions
				
			
		|  | @ -312,6 +312,13 @@ sub _extrude_path { | |||
|     if ($self->volumetric_speed != 0) { | ||||
|         $speed ||= $self->volumetric_speed / $path->mm3_per_mm; | ||||
|     } | ||||
|     if ($self->config->max_volumetric_speed > 0) { | ||||
|         # Cap speed with max_volumetric_speed anyway (even if user is not using autospeed) | ||||
|         $speed = min( | ||||
|             $speed, | ||||
|             $self->config->max_volumetric_speed / $path->mm3_per_mm, | ||||
|         ); | ||||
|     } | ||||
|     my $F = $speed * 60;  # convert mm/sec to mm/min | ||||
|      | ||||
|     # extrude arc or line | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci