From 7a2f56e3f49652178faaf049ee30a2df7a335a73 Mon Sep 17 00:00:00 2001 From: daid Date: Fri, 6 Jul 2012 15:52:55 +0200 Subject: [PATCH] Some more changes to the start/end code. --- Cura/util/profile.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 37ae11e..b93e2e7 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -100,18 +100,19 @@ G92 E0 ;zero the extruded length G1 F200 E3 ;extrude 3mm of feed stock G92 E0 ;zero the extruded length again -G1 X{machine_center_x} Y{machine_center_y} F{travel_speed} ;go to the middle of the platform +;go to the middle of the platform (disabled, as there is no need to go to the center) +;G1 X{machine_center_x} Y{machine_center_y} F{travel_speed} +G1 F{travel_speed} """, ####################################################################################### 'end.gcode': """;End GCode M104 S0 ;extruder heater off M140 S0 ;heated bed heater off (if you have it) -G91 ;relative positioning -G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure -G1 Z+0.5 E-5 F{max_z_speed} ;move Z up a bit and retract filament even more -G1 Z+3 F{max_z_speed} ;move Z up a bit more without retraction -G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way +G91 ;relative positioning +G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure +G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more +G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way M84 ;steppers off G90 ;absolute positioning @@ -128,7 +129,7 @@ G92 E0 G1 Z{clear_z} E-5 F{max_z_speed} G92 E0 G1 X{machine_center_x} Y{machine_center_y} F{travel_speed} -G1 F200 E5.5 +G1 F200 E5.2 G92 E0 G1 Z0 F{max_z_speed} """,