mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	New automatic detection of additional required perimeters for better quality with domes and sloping walls. #198
This commit is contained in:
		
							parent
							
								
									4b7e9fc284
								
							
						
					
					
						commit
						edbdc5ec55
					
				
					 4 changed files with 68 additions and 4 deletions
				
			
		|  | @ -206,9 +206,10 @@ sub make_perimeters { | |||
|             $hole->reverse; | ||||
|         } | ||||
|          | ||||
|         # create other offsets | ||||
|         # generate perimeters inwards | ||||
|         my $loop_number = $Slic3r::perimeters + ($surface->additional_inner_perimeters || 0); | ||||
|         push @perimeters, []; | ||||
|         for (my $loop = 0; $loop < $Slic3r::perimeters; $loop++) { | ||||
|         for (my $loop = 0; $loop < $loop_number; $loop++) { | ||||
|             # offsetting a polygon can result in one or many offset polygons | ||||
|             @last_offsets = map $_->offset_ex(-$distance), @last_offsets if $distance; | ||||
|             last if !@last_offsets; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci