mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Refactor bridge flow to Slic3r::Flow::Bridge class
This commit is contained in:
		
							parent
							
								
									d00c2882c4
								
							
						
					
					
						commit
						a9090688f9
					
				
					 6 changed files with 29 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -64,7 +64,7 @@ sub support_material_contact_height {
 | 
			
		|||
    
 | 
			
		||||
    # TODO: check what upper region applies instead of considering the first one
 | 
			
		||||
    my $upper_layer = $self->object->layers->[ $self->id + 1 ] // $self;
 | 
			
		||||
    my $h = ($self->height + $upper_layer->height) - $upper_layer->regions->[0]->infill_flow->bridge_width;
 | 
			
		||||
    my $h = ($self->height + $upper_layer->height) - $upper_layer->regions->[0]->extruders->{infill}->bridge_flow->width;
 | 
			
		||||
    
 | 
			
		||||
    # If layer height is less than half the bridge width then we'll get a negative height for contact area.
 | 
			
		||||
    # The optimal solution would be to skip some layers during support material generation, but for now
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue