mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Put the relative E checkbox back in the GUI and disable M82/M83 for MakerBot
This commit is contained in:
		
							parent
							
								
									e8c64924db
								
							
						
					
					
						commit
						b5cba48e55
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@ sub new {
 | 
			
		|||
    my %panels = (
 | 
			
		||||
        printer => {
 | 
			
		||||
            title => 'Printer',
 | 
			
		||||
            options => [qw(nozzle_diameter print_center z_offset gcode_flavor g0)],
 | 
			
		||||
            options => [qw(nozzle_diameter print_center z_offset gcode_flavor use_relative_e_distances g0)],
 | 
			
		||||
        },
 | 
			
		||||
        filament => {
 | 
			
		||||
            title => 'Filament',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -595,7 +595,7 @@ sub export_gcode {
 | 
			
		|||
            if $Slic3r::first_layer_temperature && $Slic3r::gcode_flavor ne 'makerbot';
 | 
			
		||||
    print  $fh "G90 ; use absolute coordinates\n";
 | 
			
		||||
    print  $fh "G21 ; set units to millimeters\n";
 | 
			
		||||
    if ($Slic3r::gcode_flavor =~ /^(?:reprap|teacup|makerbot)$/) {
 | 
			
		||||
    if ($Slic3r::gcode_flavor =~ /^(?:reprap|teacup)$/) {
 | 
			
		||||
        printf $fh "G92 %s0 ; reset extrusion distance\n", $Slic3r::extrusion_axis;
 | 
			
		||||
        if ($Slic3r::gcode_flavor =~ /^(?:reprap|makerbot)$/) {
 | 
			
		||||
            if ($Slic3r::use_relative_e_distances) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue