mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix integration of XS containers
This commit is contained in:
		
							parent
							
								
									9b582a11ff
								
							
						
					
					
						commit
						9458c7db97
					
				
					 34 changed files with 279 additions and 152 deletions
				
			
		|  | @ -57,10 +57,10 @@ use Slic3r::Test; | |||
|                 if ($cur_loop) { | ||||
|                     $has_cw_loops = 1 if !Slic3r::Geometry::Clipper::is_counter_clockwise($cur_loop); | ||||
|                     if ($self->F == $config->external_perimeter_speed*60) { | ||||
|                         my $move_dest = [ @$info{qw(new_X new_Y)} ]; | ||||
|                         my $move_dest = Slic3r::Point->new_scale(@$info{qw(new_X new_Y)}); | ||||
|                         $external_loops{$self->Z}++; | ||||
|                         $has_outwards_move = 1 | ||||
|                             if !Slic3r::Polygon->new(@$cur_loop)->encloses_point($move_dest) | ||||
|                             if !Slic3r::Polygon->new_scale(@$cur_loop)->encloses_point($move_dest) | ||||
|                                 ? ($external_loops{$self->Z} == 2)  # contour should include destination | ||||
|                                 : ($external_loops{$self->Z} == 1); # hole should not | ||||
|                     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci