mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	One more offset_ex() optimization
This commit is contained in:
		
							parent
							
								
									0e100827f8
								
							
						
					
					
						commit
						df62c25c8f
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -258,12 +258,11 @@ sub make_perimeters {
 | 
			
		|||
            # non-collapsing regions
 | 
			
		||||
            push @{ $self->fill_surfaces },
 | 
			
		||||
                map $_->simplify(&Slic3r::SCALED_RESOLUTION),
 | 
			
		||||
                @{union_ex([
 | 
			
		||||
                    Slic3r::Geometry::Clipper::offset(
 | 
			
		||||
                        [Slic3r::Geometry::Clipper::offset([ map @$_, @last_offsets ], -($perimeter_spacing/2 + $infill_spacing))], 
 | 
			
		||||
                    offset2_ex(
 | 
			
		||||
                        [ map @$_, @last_offsets ],
 | 
			
		||||
                        -($perimeter_spacing/2 + $infill_spacing),
 | 
			
		||||
                        +$infill_spacing,
 | 
			
		||||
                    ),
 | 
			
		||||
                ])};
 | 
			
		||||
                    );
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        # fill gaps
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue