How to set the height where the printhead parks
 
Avisos
Vaciar todo

How to set the height where the printhead parks  

  RSS
Craftsman_Chris
(@craftsman_chris)
Active Member
How to set the height where the printhead parks

Hi All, I have the Ender 3 s1 pro and I have been using the Prusa slicer lately. I have one issue that I don't know how to fix. After the print is done the printhead moves far away from the printed, more specifically it parks at 162mm height. Before I was using cura and the printhead used to park a bit further from the print. How to fix the height so it is not so high up?

Respondido : 19/12/2023 5:36 pm
FoxRun3D
(@foxrun3d)
Famed Member
RE: How to set the height where the printhead parks

You can change the End g-code in your printer settings (expert mode).

I don't know the specifics for an ender but for the Mk4, the end code is:

{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+1, max_print_height)} F720 ; Move print head up{endif}
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
G1 X241 Y170 F3600 ; park
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+23, max_print_height)} F300 ; Move print head up{endif}
G4 ; wait
M900 K0 ; reset LA
M142 S36 ; reset heatbreak target temp
M84 X Y E ; disable motors
; max_layer_z = [max_layer_z]

The lines

G1 X241 Y170 F3600 ; park
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+23, max_print_height)} F300 ; Move print head up{endif}

are what defines the parking position, so if you change the X, Y, and/or Z positions in those lines and save it as a custom printer profile, you can modify the default behavior.

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Respondido : 19/12/2023 6:24 pm
Craftsman_Chris
(@craftsman_chris)
Active Member
Topic starter answered:
RE: How to set the height where the printhead parks

The lines

G1 X241 Y170 F3600 ; park {if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+23, max_print_height)} F300 ; Move print head up{endif}

are what defines the parking position, so if you change the X, Y, and/or Z positions in those lines and save it as a custom printer profile, you can modify the default behavior.

Thanks for the reply. How should I modify this line if I want the print head to park at the left back corner at 60mm height?

@fuchsr

Respondido : 26/12/2023 5:43 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:
G1 Z{max_print_height} F3600 ; Move to up to max of Z
G4 S0 ; Wait for move to finish
G1 X0 Y{print_bed_size[1]} F3600 ; Move to to X0 and max Y
G4 S0 ; Wait for move to finish
G1 Z60 F3600 ; Move down to Z 60mm, so it will just lower the print head in Z axis in the corner.
G4 S0 ; Wait for move to finish
...
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
...

Place it in end gcode. The code will add extra print head moves at the end, may be not what you want (absolute position)
Notice that above code will first move head from the last head to the same XY but up until it reaches Z200, and then to the left back top corner and down to Z60 - this move is needed to avoid hitting other printed objects if trying to go directly from last print point to the destination point.

Not tested, use at your own risk.

If you just want to print a bit higher than the print then follow examples from fuchsr

See my GitHub and printables.com for some 3d stuff that you may like.

Respondido : 26/12/2023 8:31 pm
Compartir: