I would go for:
Move to next object on the platform. clear_z is the minimal z height we need to make sure we do not hit any objects.
G92 E0
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{travel_speed} ;move Z up a bit and retract filament even more
G90 ;absolute positioning
G1 Z{clear_z} F{max_z_speed}
G92 E0
G1 X5 Y{object_center_x} F{travel_speed} ;changed to x5 for left edge
G1 F200 E5 ;changed e6 to e5
G92 E0
G1 X{object_center_y} Y{object_center_x} F{travel_speed} ;changed to x5 for left edge
This will ensure you won't hit anything. Else it ill go diagonal from X5 to the start of the print, which might or might not hit other prints.
Recommended Posts
gr5 2,224
I have had the same problem. I implemented a fix but haven't tried it yet as I haven't had a need to print multiple parts in a while.
Cura has start.gcode, end.gcode and nextobject.gcode. The 3rd of these I assume runs between parts for the project planner.
I changed the second to last line to reduce the extrusion. As you can see it retracts 5mm (E-5) and then later extrudes 6mm (E6). I changed the E6 to E5 (no "priming of the pump").
I also changed the 3rd to last line to "X5" so that it if it *does* extrude it will be over near the left edge instead of over the center of the object. Hopefully this doesn't result in any kind of collision when it goes to start the skirt.
Again - I haven't tested this change. You would definitely want to check the result for collisions when it goes to X5.
Link to post
Share on other sites