From 68e950c8f0ecf428d83c73ee6bf09946e57b3390 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 22 Aug 2018 12:08:25 +0200 Subject: [PATCH] Turn off fans after printing completes Fixes #10 --- resources/definitions/blackbelt.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/blackbelt.def.json b/resources/definitions/blackbelt.def.json index ed3134a784..2ff6ac2b73 100644 --- a/resources/definitions/blackbelt.def.json +++ b/resources/definitions/blackbelt.def.json @@ -121,7 +121,7 @@ "default_value": "G90 ; Set to Absolute Positioning\nM82 ; Set extruder to absolute mode\nG21 ; Metric values\nG92 X0 Y0 Z0 E0 ; Set all axis to 0\n;home X\nG1 Y2 ; Move Y axis off the bed\nG28 X0 F2000 ; Home X axis\nG1 X170 Z5 F4000 ; Move X to the center\n;probe Y\nM908 P5 S10 ; Setting the motor current of the Y1 motor off\nM908 P1 S10 ; Setting the motor current of the Y2 motor off\nG1 Y20 G3000 ; Move Y up\nM400 ; Wait for current moves to finish\nM908 P5 S30 ; Setting the motor current of the Y1 motor very low\nM908 P1 S30 ; Setting the motor current of the Y2 motor off\nG1 Y0 F500 ; Move Y down into the belt\nM400 ; Wait for current moves to finish\nM908 P5 S140 ; Setting the motor current of the Y1 motor to normal\nM908 P1 S140 ; Setting the motor current of the Y2 motor to normal\nG92 Y{blackbelt_z_offset}\n;purge\nG1 Y2 ; Move Y axis off the bed\nG1 F15000 ; Set high feedrate\nG1 X170 F10000 ; Move the print head to the center and break the melt\nG1 X335 Y 1 G1 E10; Extruder 10mm material and move to the side\nG1 E15 ; Extrude 5mm more\nG1 Z10 E18 F500 ; Move belt 5mm and keep extruding\nG1 Z30 ; Move the belt a bit further without extruding\nG92 Z0 ; Zero Belt\nG92 E0 ; Zero the extruded length\nG1 E-4 F3900 ; Retract 4mm at 65mm/s\n;prepare printing\nG1 X170 F15000 ; Move the print head to the center and break the melt\nG1 Y{blackbelt_z_offset} ; Move y to the belt\nG1 E0 ; Move extruder back to 0\nG92 E-1 ; Add 1mm start distance\nM117 BLACKBELT Printing...\n\n;˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅ - copy from here / paste codes just under here - ˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅\nM107 ; Start with the fan off" }, "machine_end_gcode" : { - "default_value": "G92 E0 ; Set Extruder to zero\nG1 E-6 ; Retract 6mm\nG92 Z0 ; Set Belt to zero\nG1 Z{blackbelt_repetitions_distance} ; Move Belt 15mm before starting up the next product\nG92 Z0 ; Set Belt to zero again\n\n;˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄ - copy up to here / paste codes just above here - ˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄\nM104 S0 ; Extruder heater off\nM140 S0 ; Heated bed heater off\nG92 Z0\nG1 Z10 F1000\nG28 X0 F2000\nG1 Z20 F1000\nG1 X170 F2000\nG1 Y{blackbelt_z_offset} F2000\nM18 ; Disable all stepper motors" + "default_value": "G92 E0 ; Set Extruder to zero\nG1 E-6 ; Retract 6mm\nG92 Z0 ; Set Belt to zero\nG1 Z{blackbelt_repetitions_distance} ; Move Belt 15mm before starting up the next product\nG92 Z0 ; Set Belt to zero again\n\n;˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄ - copy up to here / paste codes just above here - ˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄\nM104 S0 ; Extruder heater off\nM140 S0 ; Heated bed heater off\nM106 S0 ; Part cooling fan off\nM106 P1 S0 ; Rear fan off\nG92 Z0\nG1 Z10 F1000\nG28 X0 F2000\nG1 Z20 F1000\nG1 X170 F2000\nG1 Y{blackbelt_z_offset} F2000\nM18 ; Disable all stepper motors" }, "machine_width": { "default_value": 340