Jump to content

Feature Request: Magic that will allow my end code to move Z down only if it isn't already down that far?


Claghorn

Recommended Posts

Posted (edited) · Feature Request: Magic that will allow my end code to move Z down only if it isn't already down that far?

I'd like to move the Z level at the end of a print to something like 50mm, but if I just printed something higher than that, I don't want a "G0 Z50" in the end script to jam the tall print back into the extruder :-). Is there any kind of cura magic like S{max_model_height_or_z_park} or gcode magic in marlin to achieve this?

Edited by Claghorn
change this to a feature request
  • Link to post
    Share on other sites

    Posted · Feature Request: Magic that will allow my end code to move Z down only if it isn't already down that far?

    Nope. You could try to do this with a post processing script, but that would require writing a custom python script that can do that (and remembering that you should enable that script every time)

  • Link to post
    Share on other sites

    Posted · Feature Request: Magic that will allow my end code to move Z down only if it isn't already down that far?

    Maybe I should make this a feature request then. I know cura knows how tall the model is, so if it had a separate setting for "park position" where I could set X,Y, and Z locations I want it to move to at the end of the print, then it would be possible to put something like this in my end code:

     

    G0 Z{max_of_model_height_and_Z_park}

     

    I want this to move the bed to a convenient position for removing the flexible build plate after the print is done.

  • Link to post
    Share on other sites

    • Claghorn changed the title to Feature Request: Magic that will allow my end code to move Z down only if it isn't already down that far?

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
        • 1 reply
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Like
        • 3 replies
    ×
    ×
    • Create New...