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 = (
|
my %panels = (
|
||||||
printer => {
|
printer => {
|
||||||
title => '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 => {
|
filament => {
|
||||||
title => 'Filament',
|
title => 'Filament',
|
||||||
|
|
|
@ -595,7 +595,7 @@ sub export_gcode {
|
||||||
if $Slic3r::first_layer_temperature && $Slic3r::gcode_flavor ne 'makerbot';
|
if $Slic3r::first_layer_temperature && $Slic3r::gcode_flavor ne 'makerbot';
|
||||||
print $fh "G90 ; use absolute coordinates\n";
|
print $fh "G90 ; use absolute coordinates\n";
|
||||||
print $fh "G21 ; set units to millimeters\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;
|
printf $fh "G92 %s0 ; reset extrusion distance\n", $Slic3r::extrusion_axis;
|
||||||
if ($Slic3r::gcode_flavor =~ /^(?:reprap|makerbot)$/) {
|
if ($Slic3r::gcode_flavor =~ /^(?:reprap|makerbot)$/) {
|
||||||
if ($Slic3r::use_relative_e_distances) {
|
if ($Slic3r::use_relative_e_distances) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue