How to edit G-code created in Cura to begin printing at a specified layer height? I have an issue with implementing a G-code to print a large 3D object using the Creality CR-10 printer. The print went well for over 30 hours but the filament broke off during the print and stopped at a height of around 172&nbsp;mm of a total height of 256&nbsp;mm. 1753 layers total , stopped at layer 1170.

I want to restart the print so the extruder begins printing at a height of 172&nbsp;mm rather that from the start. 

I have tried several sites online and had removed the previous 1169 layers and also changed the start position of the extruder to the code below:

G1 X20 Y20 Z385; Center extruder above bed


The problem I have is that when I start the print, the extruder moves to the middle of the plate and begins moving upwards but I need the extruder to stay near the edge of the build plate and move upwards past 172&nbsp;mm and then begin printing as it would have for layer 1169 and continue the print. At the moment the extruder moves upwards and towards the middle of the plate and will impact with the existing printed material (see picture attached) and this stops it from correctly positioning. 



Can anyone help with the start code for the G-code that I could use ? I just need the x,y,z to home and then for the extruder to stay near the edge of the build plate but move past 172&nbsp;mm in the z direction before then beginning to print. Any advice would really be appreciated , first question on this platform so apologies if the detail isn't there. If you need anything more please don't hesitate to get in touch.
Well this is a little complicated since nozzle height could collides with the part if the line 1169 has had started to be printed (part of the line), so the overlap will be the main problem, however adding the initial parameters to heat the extruder and getting the X0 and Y0 with G1 X0 y0 Z385 I recommend to increase Z by 3 or 5 mm, so the extruder will travel from a higher position to avoid the crash going for example, from Z390 to Z385.