mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Bugfix: superfluous and harmful travel moves between objects when using sequential printing with Avoid crossing perimeters. #2691
This commit is contained in:
		
							parent
							
								
									13b63d06ed
								
							
						
					
					
						commit
						92b980b10e
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -196,6 +196,7 @@ sub export {
 | 
			
		|||
                if ($finished_objects > 0) {
 | 
			
		||||
                    $gcodegen->set_origin(Slic3r::Pointf->new(map unscale $copy->[$_], X,Y));
 | 
			
		||||
                    $gcodegen->enable_cooling_markers(0);  # we're not filtering these moves through CoolingBuffer
 | 
			
		||||
                    $gcodegen->avoid_crossing_perimeters->use_external_mp_once(1);
 | 
			
		||||
                    print $fh $gcodegen->retract;
 | 
			
		||||
                    print $fh $gcodegen->travel_to(
 | 
			
		||||
                        Slic3r::Point->new(0,0),
 | 
			
		||||
| 
						 | 
				
			
			@ -203,6 +204,9 @@ sub export {
 | 
			
		|||
                        'move to origin position for next object',
 | 
			
		||||
                    );
 | 
			
		||||
                    $gcodegen->enable_cooling_markers(1);
 | 
			
		||||
                    
 | 
			
		||||
                    # disable motion planner when traveling to first object point
 | 
			
		||||
                    $gcodegen->avoid_crossing_perimeters->disable_once(1);
 | 
			
		||||
                }
 | 
			
		||||
                
 | 
			
		||||
                my @layers = sort { $a->print_z <=> $b->print_z } @{$object->layers}, @{$object->support_layers};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue