mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Don't increase flow for overlapping purposes when bridging
This commit is contained in:
		
							parent
							
								
									f5eb4f03e1
								
							
						
					
					
						commit
						8e04d763f4
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -122,8 +122,12 @@ sub extrude { | ||||||
|     my $h = $path->depth_layers * $Slic3r::layer_height; |     my $h = $path->depth_layers * $Slic3r::layer_height; | ||||||
|     $h = $w if $path->role eq 'bridge'; |     $h = $w if $path->role eq 'bridge'; | ||||||
|      |      | ||||||
|  |     # calculate additional flow for overlapping | ||||||
|  |     my $overlap_area = $Slic3r::overlap_factor * (($Slic3r::layer_height**2) - ($Slic3r::layer_height**2) / 4 * PI); | ||||||
|  |     $overlap_area = 0 if $path->role eq 'bridge'; | ||||||
|  |      | ||||||
|     my $e = $Slic3r::resolution |     my $e = $Slic3r::resolution | ||||||
|         * ($w * $h + ($Slic3r::layer_height**2) / 4 * (PI - 4) + $Slic3r::overlap_factor * (($Slic3r::layer_height**2) - ($Slic3r::layer_height**2) / 4 * PI)) |         * ($w * $h + ($Slic3r::layer_height**2) / 4 * (PI - 4) + $overlap_area) | ||||||
|         * $Slic3r::extrusion_multiplier |         * $Slic3r::extrusion_multiplier | ||||||
|         * (4 / (($Slic3r::filament_diameter ** 2) * PI)); |         * (4 / (($Slic3r::filament_diameter ** 2) * PI)); | ||||||
|      |      | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci