Notifications
Clear all

Override Parking Origin  

  RSS
Shoto
(@shoto)
Membre
Override Parking Origin

Hi all, I'm fairly new to the more customized 3D printing scene. I am using the Prusa Mini and have a reoccurring problem when printing large objects. After the print completes, the printer wants to autohome and often catches the nozzle/fan on the print. The printer then tries to force through this and starts sounding like it wants to break itself. I've recently modified the default g-code to what you see below:

G1 E-1 F2100 ; retract
{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)} F720 ; Move print head up{endif}
G1 X8 Y178 Z178 F4200 ; park print head
G4 ; wait
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
M221 S100 ; reset flow
M900 K0 ; reset LA
M84 ; disable motors

On the third line, I want to park my print head in this location (X8 Y178 Z178). The printer basically keeps tapping this location, then moving to x0,y0,z0. What code should I add or change to successfully park at X8 Y178 Z178? Is this even possible? I seem to be finding mixed answers online.

Publié : 14/07/2025 2:36 am
Neophyl
(@neophyl)
Illustrious Member
RE: Override Parking Origin

If that is all that is in your end gcode it should NOT be moved after that, or auto home or anything else.

Either attach a sample gcode file where it does this for us to examine or more preferably save a prusa slicer project file where this occurs to the gcode output (File>save project as) and attach that project here.  A project (3mf file from PS) contains all the settings, so if theres gcode commands elsewhere causing moves to be added we should see them in the project.  

Remember to zip up any files attached or the forum will not accept them. 

Also are you running anything such as octoprint or similar that might also be post processing the code or adding its own stuff ?

Publié : 14/07/2025 4:46 pm
Shoto
(@shoto)
Membre
Topic starter answered:
RE:

I hope this is what you're looking for, thanks for the help! As far as I know, I am not. I currently either grab something from the web or export as an stl from Fusion 360.

Test Park

Ce message a été modifié il y a 2 months par Shoto
Publié : 14/07/2025 5:05 pm
FoxRun3D
(@foxrun3d)
Illustrious Member
RE: Override Parking Origin

As Neophyl said nothing in that gcode should make the printer go to home. Just to preclude anything weird I would save the G code in the non-binary format and open it in a text editor to make sure everything looks fine. Beyond that well it's most likely something like Octoprint. 

Formerly known on this forum as @fuchsr -- https://foxrun3d.com/

Publié : 14/07/2025 11:57 pm
Shoto
(@shoto)
Membre
Topic starter answered:
RE: Override Parking Origin

Oh, I thought that the G1 command on line 3 was trying to get the extruder to park. Do you have any recommendations as to how to get the head to park where I want it? Thanks for the reply!

Publié : 15/07/2025 2:48 am
Sembazuru
(@sembazuru)
Noble Member
RE: Override Parking Origin
Posted by: @shoto

Oh, I thought that the G1 command on line 3 was trying to get the extruder to park. Do you have any recommendations as to how to get the head to park where I want it? Thanks for the reply!

It does. What we all are trying to figure out is what else might unintentionally be attached to the end of your gcode that forces the move to 0,0,0. If you still have access to a gcode that actually causes this issue on your Mini, please zip it and attach to this thread. The gcode that I generate from your .3mf doesn't appear to have anything at the end of the print that would do this, but I don't have a Mini on hand to test for myself.

I just did a google search for "prusa mini home after print" and found a reference about old firmware causing homing after printing (this was back in 2013). What version of firmware are you running on your Mini?

Also, how are you getting the print file to your Mini? Are you putting the gcode on a thumbdrive and then putting the thumbdrive into your Mini? Are you using a print server like OctoPrint, Beagle Camera, or something similar (if so, which one)? Are you using Prusa Connect or Prusa Link (if so, which one)?

See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs

Publié : 15/07/2025 10:32 pm
Partager :