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.4 stable released
        The full stable release of UltiMaker Cura 5.4 is here and it makes it easier than ever to remove brims and supports from your finished prints. UltiMaker S series users can also look forward to print profiles for our newest UltiMaker PET CF composite material!
          • Like
        • 58 replies
    ×
    ×
    • Create New...