So, I've noticed that Orca Slicer tends to ram the X-gantry up into the leadscrew caps on my Ender 3 V2 after a tall print. The hotend doesn't need to move up this far, and I haven't ever had much luck with firmware or gcode editing before. This is just a quick call for help on figuring out how to tell Orca Slicer to only go up about 5-10mm above the last layer, then "present print" rather than running to the top of the available Z.
If it runs to the top of the available Z, then on "Auto Home" (I'm using a CR-Touch probe), the printer's firmware tells it to move up further; if the gantry is already snug against the top, what happens? BRRRR and the right leadscrew forces the gantry up at an angle while the left leadscrew is blocked from moving up further by the aluminum MK8 extruder arm and housing.
Here is the Orca Slicer End Gcode as it stands:
{if max_layer_z < printable_height}G1 Z{min(max_layer_z+2, printable_height)} F600 ; Move print head up{endif}
G1 X5 Y{print_bed_max[1]0.8} F{travel_speed60} ; present print
{if max_layer_z < printable_height-10}G1 Z{min(max_layer_z+70, printable_height-10)} F600 ; Move print head further up{endif}
{if max_layer_z < printable_height0.6}G1 Z{printable_height0.6} F600 ; Move print head further up{endif}
M140 S0 ; turn off heatbed
M104 S0 ; turn off temperature
M107 ; turn off fan
M84 X Y E ; disable motors