mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Limit skirt height to the print height. #128
This commit is contained in:
		
							parent
							
								
									28b851508e
								
							
						
					
					
						commit
						55045e0437
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -328,7 +328,9 @@ sub extrude_skirt { | ||||||
|      |      | ||||||
|     # collect points from all layers contained in skirt height |     # collect points from all layers contained in skirt height | ||||||
|     my @points = (); |     my @points = (); | ||||||
|     my @layers = map $self->layer($_), 0..($Slic3r::skirt_height-1); |     my $skirt_height = $Slic3r::skirt_height; | ||||||
|  |     $skirt_height = $self->layer_count if $skirt_height > $self->layer_count; | ||||||
|  |     my @layers = map $self->layer($_), 0..($skirt_height-1); | ||||||
|     push @points, map @$_, map $_->p, map @{ $_->slices }, @layers; |     push @points, map @$_, map $_->p, map @{ $_->slices }, @layers; | ||||||
|     return if !@points; |     return if !@points; | ||||||
|      |      | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci