mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Minor cleanup in GCode.pm
This commit is contained in:
		
							parent
							
								
									634bc09e2c
								
							
						
					
					
						commit
						55888ace75
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -4,10 +4,8 @@ use Moo; | ||||||
| use List::Util qw(min max first); | use List::Util qw(min max first); | ||||||
| use Slic3r::ExtrusionLoop ':roles'; | use Slic3r::ExtrusionLoop ':roles'; | ||||||
| use Slic3r::ExtrusionPath ':roles'; | use Slic3r::ExtrusionPath ':roles'; | ||||||
| use Slic3r::Flow ':roles'; |  | ||||||
| use Slic3r::Geometry qw(epsilon scale unscale PI X Y B); | use Slic3r::Geometry qw(epsilon scale unscale PI X Y B); | ||||||
| use Slic3r::Geometry::Clipper qw(union_ex offset_ex); | use Slic3r::Geometry::Clipper qw(union_ex); | ||||||
| use Slic3r::Surface ':types'; |  | ||||||
| 
 | 
 | ||||||
| # Origin of print coordinates expressed in unscaled G-code coordinates. | # Origin of print coordinates expressed in unscaled G-code coordinates. | ||||||
| # This affects the input arguments supplied to the extrude*() and travel_to() | # This affects the input arguments supplied to the extrude*() and travel_to() | ||||||
|  | @ -90,7 +88,6 @@ sub change_layer { | ||||||
|      |      | ||||||
|     my $gcode = ""; |     my $gcode = ""; | ||||||
|     if (defined $self->layer_count) { |     if (defined $self->layer_count) { | ||||||
|         # TODO: cap this to 99% and add an explicit M73 P100 in the end G-code |  | ||||||
|         $gcode .= $self->writer->update_progress($self->_layer_index, $self->layer_count); |         $gcode .= $self->writer->update_progress($self->_layer_index, $self->layer_count); | ||||||
|     } |     } | ||||||
|      |      | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci