mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Bugfix: arc compensation code was filling some small holes
This commit is contained in:
		
							parent
							
								
									d59d4a2c55
								
							
						
					
					
						commit
						d164d13517
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -198,7 +198,10 @@ sub make_perimeters { | |||
|             next unless $area <= $Slic3r::small_perimeter_area; | ||||
|             my $radius = sqrt($area / PI); | ||||
|             my $new_radius = (scale($Slic3r::flow_width) + sqrt((scale($Slic3r::flow_width)**2) + (4*($radius**2)))) / 2; | ||||
|             # holes are always turned to contours, so reverse point order before and after | ||||
|             $hole->reverse; | ||||
|             @$hole = map Slic3r::Point->new($_), @{ +($hole->offset(+ ($new_radius - $radius)))[0] }; | ||||
|             $hole->reverse; | ||||
|         } | ||||
|          | ||||
|         # create other offsets | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci