chiark / gitweb /
Updated start/end code.
authordaid <daid303@gmail.com>
Thu, 5 Jul 2012 14:08:18 +0000 (16:08 +0200)
committerdaid <daid303@gmail.com>
Thu, 5 Jul 2012 14:08:18 +0000 (16:08 +0200)
Cura/util/profile.py

index d525fa3fb66e5fd7486e258fb97a2f907ac37a94..3586b37e0dc84990cb77d4c7b31793ca6d017011 100644 (file)
@@ -92,28 +92,23 @@ M107       ;start with the fan off
 \r
 G28 X0 Y0  ;move X/Y to min endstops\r
 G28 Z0     ;move Z to min endstops\r
-\r
-; if your prints start too high, try changing the Z0.0 below\r
-; to Z1.0 - the number after the Z is the actual, physical\r
-; height of the nozzle in mm. This can take some messing around\r
-; with to get just right...\r
 G92 X0 Y0 Z0 E0         ;reset software position to front/left/z=0.0\r
+\r
 G1 Z15.0 F{max_z_speed} ;move the platform down 15mm\r
-G92 E0                  ;zero the extruded length\r
 \r
-G1 F200 E5              ;extrude 5mm of feed stock\r
-G1 F200 E3.5            ;reverse feed stock by 1.5mm\r
+G92 E0                  ;zero the extruded length\r
+G1 F200 E3              ;extrude 3mm of feed stock\r
 G92 E0                  ;zero the extruded length again\r
 \r
-;go to the middle of the platform, and move to Z=0 before starting the print.\r
-G1 X{machine_center_x} Y{machine_center_y} F{travel_speed}\r
-G1 Z0.0 F{max_z_speed}\r
+G1 X{machine_center_x} Y{machine_center_y} F{travel_speed} ;go to the middle of the platform\r
 """,\r
 #######################################################################################\r
        'end.gcode': """;End GCode\r
 M104 S0                    ;extruder heat off\r
 G91                        ;relative positioning\r
-G1 Z+10 E-5 F{max_z_speed} ;move Z up a bit and retract filament by 5mm\r
+G1 E-1 F300                ;retract the filament a bit before lifting the nozzle, to release some of the pressure\r
+G1 Z+0.5 E-5 F{max_z_speed};move Z up a bit and retract filament even more\r
+G1 Z+10 F{max_z_speed}     ;move Z up a bit more without retraction\r
 G28 X0 Y0                  ;move X/Y to min endstops, so the head is out of the way\r
 M84                        ;steppers off\r
 G90                        ;absolute positioning\r