Benachrichtigungen
Alles löschen

End G-Code Question ???  

  RSS
Hellbender
(@hellbender-2)
Active Member
End G-Code Question ???

Is there anything you can add to the "End G-Code" box in the Printer settings tab that would automatically raise the print head to at least 120mm (or max height if tall print) over the height of the print when finished?

Thanks!

Veröffentlicht : 25/11/2020 7:18 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: End G-Code Question ???

G1 Z120 would work, BUT If the Model is taller than 120,  this command may pull the extruder down into the model... 

regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Veröffentlicht : 25/11/2020 8:39 pm
Neophyl
(@neophyl)
Illustrious Member
RE: End G-Code Question ???

Mostly.  Prusa printers already come with a line that does similar in the end gcode

G90 ; use absolute coordinates
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head up

That moves the head up 30mm but doesnt exceed the configured max height.  You could set a different value for 30 if you want to move it up higher.

 

Veröffentlicht : 25/11/2020 8:59 pm
bobstro gefällt das
Hellbender
(@hellbender-2)
Active Member
Themenstarter answered:
RE: End G-Code Question ???

@neophyl

That would have to be done in printer firmware with Pronterface,  correct?  Not just in the slicer "End g-code"  box?

Veröffentlicht : 26/11/2020 3:57 am
Neophyl
(@neophyl)
Illustrious Member
RE: End G-Code Question ???

No that line as is is added into the printers end gcode section in Prusa slicer. If you want to see just use the wizard and add a mk3. 

Veröffentlicht : 26/11/2020 6:05 am
Hellbender
(@hellbender-2)
Active Member
Themenstarter answered:
RE: End G-Code Question ???

Thank you!

Veröffentlicht : 27/11/2020 3:23 pm
Hellbender
(@hellbender-2)
Active Member
Themenstarter answered:
RE: End G-Code Question ???

@neophyl

Wow! I just changed the 30 to a 100, saved it,  and it did the trick!

It made a new "User Presets" with "copy" after the printer name.

Thanks again for the help!

Veröffentlicht : 27/11/2020 4:35 pm
Neophyl
(@neophyl)
Illustrious Member
RE: End G-Code Question ???

Yeah you can’t overwrite a system default, you always have to create a new one.  That’s true of any of the system profiles, even filament or print ones. 
Glad it’s doing what you want.   The Prusa end code also has lines that moves the bed to the front to ‘present’ the finished print which is also handy to do at the end. 

Veröffentlicht : 27/11/2020 5:40 pm
Teilen: