mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Move Detect Bridging Perimeters to region config
This commit is contained in:
		
							parent
							
								
									59f0e76da1
								
							
						
					
					
						commit
						5d12a03b82
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -234,7 +234,7 @@ sub make_perimeters { | |||
|      | ||||
|     # prepare grown lower layer slices for overhang detection | ||||
|     my $lower_slices = Slic3r::ExPolygon::Collection->new; | ||||
|     if ($self->layer->lower_layer && $self->layer->print->config->overhangs) { | ||||
|     if ($self->layer->lower_layer && $self->region->config->overhangs) { | ||||
|         # We consider overhang any part where the entire nozzle diameter is not supported by the | ||||
|         # lower layer, so we take lower slices and offset them by half the nozzle diameter used  | ||||
|         # in the current layer | ||||
|  | @ -271,7 +271,7 @@ sub make_perimeters { | |||
|              | ||||
|             # detect overhanging/bridging perimeters | ||||
|             my @paths = (); | ||||
|             if ($self->layer->print->config->overhangs && $lower_slices->count > 0) { | ||||
|             if ($self->region->config->overhangs && $lower_slices->count > 0) { | ||||
|                 # get non-overhang paths by intersecting this loop with the grown lower slices | ||||
|                 foreach my $polyline (@{ intersection_ppl([ $polygon ], $lower_slices_p) }) { | ||||
|                     push @paths, Slic3r::ExtrusionPath->new( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci