chiark / gitweb /
Some more changes to the start/end code.
authordaid <daid303@gmail.com>
Fri, 6 Jul 2012 13:52:55 +0000 (15:52 +0200)
committerdaid <daid303@gmail.com>
Fri, 6 Jul 2012 13:52:55 +0000 (15:52 +0200)
Cura/util/profile.py

index 37ae11ee54926b5799454895908f06ec0965c35e..b93e2e711443f3e367e06949383f922894f24e63 100644 (file)
@@ -100,18 +100,19 @@ G92 E0                  ;zero the extruded length
 G1 F200 E3              ;extrude 3mm of feed stock\r
 G92 E0                  ;zero the extruded length again\r
 \r
-G1 X{machine_center_x} Y{machine_center_y} F{travel_speed} ;go to the middle of the platform\r
+;go to the middle of the platform (disabled, as there is no need to go to the center)\r
+;G1 X{machine_center_x} Y{machine_center_y} F{travel_speed}\r
+G1 F{travel_speed}\r
 """,\r
 #######################################################################################\r
        'end.gcode': """;End GCode\r
 M104 S0                     ;extruder heater off\r
 M140 S0                     ;heated bed heater off (if you have it)\r
 \r
-G91                         ;relative positioning\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+3 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
+G91                                    ;relative positioning\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 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more\r
+G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way\r
 \r
 M84                         ;steppers off\r
 G90                         ;absolute positioning\r
@@ -128,7 +129,7 @@ G92 E0
 G1 Z{clear_z} E-5 F{max_z_speed}\r
 G92 E0\r
 G1 X{machine_center_x} Y{machine_center_y} F{travel_speed}\r
-G1 F200 E5.5\r
+G1 F200 E5.2\r
 G92 E0\r
 G1 Z0 F{max_z_speed}\r
 """,\r