mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Only make the inwards move when we have more than one perimeter
This commit is contained in:
		
							parent
							
								
									7c89476602
								
							
						
					
					
						commit
						ece6dd8a0b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -156,7 +156,7 @@ sub extrude_loop {
 | 
			
		|||
    $self->wipe_path($extrusion_path->polyline);
 | 
			
		||||
    
 | 
			
		||||
    # make a little move inwards before leaving loop
 | 
			
		||||
    if ($loop->role == EXTR_ROLE_EXTERNAL_PERIMETER) {
 | 
			
		||||
    if ($loop->role == EXTR_ROLE_EXTERNAL_PERIMETER && $Slic3r::Config->perimeters > 1) {
 | 
			
		||||
        # detect angle between last and first segment
 | 
			
		||||
        # the side depends on the original winding order of the polygon (left for contours, right for holes)
 | 
			
		||||
        my @points = $was_clockwise ? (-2, 1) : (1, -2);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue