mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	New --fill-every-layers option to get high accuracy on external surfaces while speeding up infill
This commit is contained in:
		
							parent
							
								
									54cc6216a1
								
							
						
					
					
						commit
						7f341cfcd3
					
				
					 16 changed files with 177 additions and 43 deletions
				
			
		|  | @ -48,14 +48,20 @@ sub make_fill { | |||
|                 $filler = 'rectilinear'; | ||||
|             } | ||||
|              | ||||
|             push @path_collection, $self->fillers->{$filler}->fill_surface($surface, | ||||
|             my @paths = $self->fillers->{$filler}->fill_surface( | ||||
|                 $surface, | ||||
|                 density => $density, | ||||
|             ); | ||||
|              | ||||
|             push @path_collection, map Slic3r::ExtrusionPath->cast( | ||||
|                 [ @$_ ], | ||||
|                 depth_layers => $surface->depth_layers, | ||||
|             ), @paths; | ||||
|         } | ||||
|          | ||||
|         # save into layer | ||||
|         push @{ $layer->fills }, Slic3r::ExtrusionPath::Collection->new( | ||||
|             paths => [ map Slic3r::ExtrusionPath->cast([ @$_ ]), @path_collection ], | ||||
|             paths => [ @path_collection ], | ||||
|         ); | ||||
|         $layer->fills->[-1]->cleanup; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci