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?


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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Heart
        • 18 replies
    ×
    ×
    • Create New...