Jump to content
Ultimaker Community of 3D Printing Experts

Cura 5.1 Pause at Height


travis3d
 Share

Recommended Posts

Posted · Cura 5.1 Pause at Height

Been trying to do more dual colors in my prints and having a hard time with this pause at height script. 

 

So if i tell it to stop at a certain layer it works fine, no issues.

 

If i try to stop it at a certain height say, 2mm, its stops way to early. I looked in the gcode and im printing at a .2 layer height, but it stops on layer 7. 

 

;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current z: 2
;current height: 2.0
M83 ; switch to relative E values for any needed retraction
G1 F300 Z3 ; move up a millimeter to get out of the way
G1 F9000 X190 Y190
G1 F300 Z15 ; too close to bed--move to at least 15mm
M104 S0 ; standby temperature
M0 ; Do the actual pause
M109 S210 ; resume temperature
G1 F300 Z2
G1 F9000 X47.535 Y199.399
G1 F300 Z2 ; move back down to resume height
G1 F3000 ; restore extrusion feedrate
M82 ; switch back to absolute E values
G92 E469.3977
;LAYER:8

 

So i cant really figure out why it thinks its at 2mm when its only done 7 layers at .2 height a layer. Any ideas

 

  • Link to post
    Share on other sites

    Posted · Cura 5.1 Pause at Height

    My guess is that you have Z-Hops enabled at 0.2 hop-height.

    When using "By Height" the plugin (per your example) looks for the first instance of Z=2.  If Z-Hops are enabled then the Z-Hop move is the first Z=2 and at .2 hop height the first instance occurs if there is a retraction at the end of gcode Layer:7.  It's a known glitch.

     

    Another glitch is when using Adaptive layers because there might not be an exact height that you enter because adaptive layering fudges the layer heights.

     

    "By Layer" works as expected in spite of Z hops or adaptive layers.

     

  • Link to post
    Share on other sites

    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
        • 13 replies
    ×
    ×
    • Create New...