mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Avoid backwards moves when doing honeycomb infill. #492
This commit is contained in:
		
							parent
							
								
									5281b101f9
								
							
						
					
					
						commit
						ba58e0733f
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -83,7 +83,10 @@ sub fill_surface { | |||
|         $self->cache->{$cache_id} = [@polygons]; | ||||
|     } | ||||
|      | ||||
|     my @paths = map Slic3r::Polyline->new(@$_, $_->[0]), map @$_, @{intersection_ex( | ||||
|     # build polylines from polygons without re-appending the initial point: | ||||
|     # this cuts the last segment on purpose, so that the jump to the next  | ||||
|     # path is more straight | ||||
|     my @paths = map Slic3r::Polyline->new(@$_), map @$_, @{intersection_ex( | ||||
|         $self->cache->{$cache_id}, | ||||
|         [ map @$_, $expolygon->offset_ex($overlap_distance) ], | ||||
|     )}; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci