Jump to content
Ultimaker Community of 3D Printing Experts

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


Claghorn
 Share

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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...