Jump to content
Ultimaker Community of 3D Printing Experts

Pause at height not working correctly if more than one pause needed U4.9


Recommended Posts

Posted · Pause at height not working correctly if more than one pause needed U4.9

Hi,

I tried to insert two "pause at height", at 4mm then at 13mm.

But the script has inserted this two sequences consecutively at 4mm (at the same place) in the gcode file.
13mm script was executed the first at 4mm, immediately  after the 4mm script was executed!

 

G1 F300 Z4
;MESH:NONMESH
G0 F9000 X130.029 Y152.562 Z4
;TIME_ELAPSED:835.435373
;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current z: 15
;current height: 14.8
M83 ; switch to relative E values for any needed retraction
G1 F2100.0 E-0.8
G1 F300 Z16 ; move up a millimeter to get out of the way
G1 F9000 X10.0 Y10.0
M104 S0 ; standby temperature
M117 Insert coin
M0 ; Do the actual pause
M109 S220 ; resume temperature
G1 F2100.0 E0.8
G1 F2100.0 E-0.8
G1 F9000 X130.029 Y152.562
G1 F300 Z15 ; move back down to resume height
G1 F2100.0 E0.8
G1 F2100.0 ; restore extrusion feedrate
M82 ; switch back to absolute E values
G92 E630.15955
;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current z: 4.2
;current height: 4.0
M83 ; switch to relative E values for any needed retraction
G1 F2100.0 E-0.8
G1 F300 Z5.2 ; move up a millimeter to get out of the way
G1 F9000 X10.0 Y10.0
G1 F300 Z15 ; too close to bed--move to at least 15mm
M104 S0 ; standby temperature
M117 Insert magnet
M0 ; Do the actual pause
M109 S220 ; resume temperature
G1 F2100.0 E0.8
G1 F2100.0 E-0.8
G1 F300 Z5.2
G1 F9000 X130.029 Y152.562
G1 F300 Z4.2 ; move back down to resume height

 

 

ASX1_cointraps_10baht.gcode

  • Link to post
    Share on other sites
    Posted · Pause at height not working correctly if more than one pause needed U4.9

    It certainly is a mess.

    I knew that Pause at Height using "At Height" is sketchy if there are Z-Hops in the file (a well documented bug).  What happened to you seems to be have been caused by Z-Hops and another peculiar thing.

    I think what happened is that the first pause was inserted OK but the second saw the already inserted Z values of the first pause and so it added the second pause right there.  The two sets of pause code look jumbled/intertwined/just plain weird.  I think the search during the second pause routine saw the line "G1 F300 Z15" within the first pause code and so the second pause routine was inserted there as it was greater than the search number 13.

    Pause at Height works fine if you use "By Layer" because the search criteria is very specific.  My suggestion would be to pause at Layer:19 and again at Layer:64.

  • Link to post
    Share on other sites
    Posted · Pause at height not working correctly if more than one pause needed U4.9

    I tried to use "By Layer"instead of "At Height" and  it works perfectly !

    Thank you @GregValiant
     

  • 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
    • Our picks

      • Ultimaker turns 10: A look back
        Ultimaker is turning 10 years old and that means it is story telling time! We'll explore 2010-2014, traveling through the evolution of the business from the Protobox and Ultimaker Original, to the major leaps forward with the Ultimaker 2 and Ultimaker 3.
          • Like
        • 0 replies
      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer 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
        • 0 replies
    ×
    ×
    • Create New...