Updated the end-gcode

The end gcode contained a typo (a rogue N was in front of the G10 P1 S0), and updated it to work a little bit better (now retracts, uses M106 S0 instead of M107, and moves out of the way quicker, and deselects the tool properly)
This commit is contained in:
Modix-Lazar 2022-12-21 12:04:46 +01:00
parent 13dab34ad2
commit 9b60bf38ad
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@
"overrides": { "overrides": {
"machine_name": { "default_value": "Modix Base Printer" }, "machine_name": { "default_value": "Modix Base Printer" },
"machine_start_gcode": { "default_value": "G28 ; home all axes"}, "machine_start_gcode": { "default_value": "G28 ; home all axes"},
"machine_end_gcode": { "default_value": "G4 P200; wait\nG10 P0 S0 R0 ; turn off extruder0\n nG10 P1 S0 R0 ; turn off extruder1\n M107 ; turn off fan\n G91 ;relative positioning\n G1 Z2 F500 ; Move print head up\n G90 ; absolute positioning\n G28 XY ; home X and Y axis\n M84 ; disable motors" }, "machine_end_gcode": { "default_value": "M83 ; extruder relative moves \nG1 E-5 F2700 ;retract a bit \nG10 P0 S0 R0 ; turn off extruder 0 \nG10 P1 S0 R0 ; turn off extruder 1 \nM106 S0 ; turn off fans \nT-1 P0 ; deselect any tools \nG4 P1 ; dwell 1ms \nG91 ;relative positioning \nG1 Z2 F500 ; Move print head up 2mm \nG90 ; absolute positioning \nG1 X{move.axes[0].min+2} Y{move.axes[1].max-2} F6000 ; move to the back left \nM84 ; disable motors"},
"machine_gcode_flavor": {"default_value": "RepRap (RepRap)"}, "machine_gcode_flavor": {"default_value": "RepRap (RepRap)"},
"material_diameter": { "default_value": 1.75 }, "material_diameter": { "default_value": 1.75 },

View File

@ -19,7 +19,7 @@
"overrides": { "overrides": {
"machine_name": { "default_value": "Modix Base Printer" }, "machine_name": { "default_value": "Modix Base Printer" },
"machine_start_gcode": { "default_value": "G28 ; home all axes"}, "machine_start_gcode": { "default_value": "G28 ; home all axes"},
"machine_end_gcode": { "default_value": "G4 P200; wait\nG10 P0 S0 R0 ; turn off extruder0\n nG10 P1 S0 R0 ; turn off extruder1\n M107 ; turn off fan\n G91 ;relative positioning\n G1 Z2 F500 ; Move print head up\n G90 ; absolute positioning\n G28 XY ; home X and Y axis\n M84 ; disable motors" }, "machine_end_gcode": { "default_value": "M83 ; extruder relative moves \nG1 E-5 F2700 ;retract a bit \nG10 P0 S0 R0 ; turn off extruder 0 \nM106 S0 ; turn off fans \nT-1 P0 ; deselect any tools \nG4 P1 ; dwell 1ms \nG91 ;relative positioning \nG1 Z2 F500 ; Move print head up 2mm \nG90 ; absolute positioning \nG1 X{move.axes[0].min+2} Y{move.axes[1].max-2} F6000 ; move to the back left \nM84 ; disable motors"},
"machine_gcode_flavor": {"default_value": "RepRap (RepRap)"}, "machine_gcode_flavor": {"default_value": "RepRap (RepRap)"},
"material_diameter": { "default_value": 1.75 }, "material_diameter": { "default_value": 1.75 },