Jump to content

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

    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.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...