Jump to content
Rhodesa

Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Recommended Posts

Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

I have been losing my mind ūüôā trying to find a plugin to pause at layer. I used to have a plugin that I loaded into cura lulzbot edition to pause at a specific layer, now when it resumes, it doesn't touch the previous layer, therefor creating space and layer does not adhere¬† well. I have both a mini and taz 6. Please help or point me in the right direction. Thank you!

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

I think the problem is that the "LAYER" comment is in the wrong place, and not at the start of the layer.  If you look at this example of CURA gcode:

 

;MESH:NONMESH
G0 F600 X66.713 Y38.689 Z1.8
G0 F7200 X66.333 Y40.555
G0 X62.31 Y40.63
G0 X25.674 Y42.11
G0 X24.195 Y42.115
G0 X20.932 Y42.197
G0 X20.933 Y42.048
;TIME_ELAPSED:3908.320706
;LAYER:10
;TYPE:FILL
;MESH:Enclosure.stl
G1 F1500 E3249.63696
G1 F6000 X24.262 Y45.377 E3249.7544
G1 X24.332 Y45.447
G0 F7200 X24.123 Y45.447
G0 X22.434 Y42.193
G0 X22.435 Y42.051
G1 F6000 X19.283 Y45.203 E3249.8656
 

you see that the new layer starts after the "MESH NOMESH" comment where the Z is defined.  The plugins insert where the "LAYER" comment is defined.

 

I gave up on the scripts after several failed prints and insert manually using Notepad++.  Here is my script:

 

; Begin Pause Code
G0 X0 Y0            ;  Insert just before Layer Number at MESH:NONMESH
G0 Z50
M25                 ; Pause Print - Remember to just press continue button !!!!!
; End Pause Code; Begin Pause Code
 

Adjust the Z for easy colour change.

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Actually, those travel moves after the NONMESH and before the LAYER comment are part of the previous layer. For a long time now, Cura has added the travel move(s) to the start location of the next layer on the end of the previous layer. Recently, the z change to the new layer height was added so that the nozzle lifts before doing the travel moves. This was requested to reduce the chance of the nozzle hitting something when it travelled to the next layer start point.

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Hello,

inserted a "pause at layer" in Cura 4.2.1. nozzle goes 1mm higher before going to parking zone. after resume, it remains 1mm too high and prints in the air for the next layer. here is an example gcode : 

.

;Generated with Cura_SteamEngine 4.2.1

.

;MESH:NONMESH
G0 F600 X134.976 Y122.136 Z4.3   <--------------------
G0 F6000 X123.335 Y123.335
;TIME_ELAPSED:361.593891
;TYPE:CUSTOM
;added code by post processing
;script: PauseAtHeight.py
;current layer: 20
M83
G1 F1500 E-5
G1 F300 Z5.3   <--------------------
G1 F9000 X20 Y20
G1 F300 Z15
M104 S210; standby temperature
M0;Do the actual pause
M109 S210; resume temperature
G1 F1500 E5
G1 F199.998 E5
G1 F1500 E-5
G1 F300 Z5.3   <-------------------------
G1 F9000 X20 Y20
G1 F1500 E5
G1 F9000
M82
G92 E306.87001
;LAYER:20
M205 X20 Y20
;TYPE:FILL
;MESH:Test Pause Layer.stl
G1 F2400 E312.87001

G1 F2857.8 X125.184 Y125.184 E312.95698
G1 X125.254 Y125.254

 

height for layer 20 should be 4.3, but the last height is still 5.3.

i am not sure, but  should i add something like : G1 F300 Z4.3 ?

like this  ?

;MESH:Test Pause Layer.stl
G1 F2400 E312.87001

G1 F300 Z4.3

G1 F2857.8 X125.184 Y125.184 E312.95698

 

thanks for your help. have a nice day

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

It appears this has been fixed.   Here are the code changes made to the PauseAtHeight.py script.  

 

https://github.com/Ultimaker/Cura/commit/6ed57838a9c35bb063b68bd609c6a5a452898aa9#diff-3e58768c03d7c85bf31b60e0ed2d51eb

 

I made a backup and replaced the contents of that file with the new code found here.

 

https://raw.githubusercontent.com/Ultimaker/Cura/master/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py

 

In the middle of a long print so I can't confirm but please post back your results.

 

Thanks.

 

RK

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

 

18 hours ago, robkleinpeter said:

It appears this has been fixed.   Here are the code changes made to the PauseAtHeight.py script.  

 

 

Thank you robkleinpeter, unfortunatly this is out of my knowledge and i don't know what to do with that file.

Does that mean that i need to replace "PauseAtHeight.py" in "C:\Program Files\Ultimaker Cura 4.2\plugins\PostProcessingPlugin\scripts" with the file you provided ?

 

in doubt, i edited the gcode with notepad++ and  added "G1 F300 Z4.3" and it worked perfectly. as long as i don't know what to do with the help you provided, i'll modify the gcodes to restore the right hight.

 

thank you again, have a nice day.

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Correct, you can just replace the existing file.  Sorry for being vague.  The previous link was to the raw text so right click and save the new file from here. 

 

https://github.com/Ultimaker/Cura/tree/master/plugins/PostProcessingPlugin/scripts

 

Also, I've tested and can confirm that the new script does produce the correct gcode.  Kudos to the developers!

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Hello, 

i followed your procedure : it works !

i learn something new today, great...

thanks to you and to the developers

have a nice day.

Share this post


Link to post
Share on other sites
Posted · Pause at Layer???? Cura Lulzbot Taz 6 and Mini

Awesome.  I'm new to 3D printing and have many to thank for sharing their knowledge and experience.  My technology background came into play here so it was nice to give a little back to the community.   

Share this post


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

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!