UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
Pause the printer at a manually setting height of the build plate
Posted
· Pause the printer at a manually setting height of the build plate
If you do a quick test with Pause At Height at Layer:2 you will see that the code generates "relative" moves as well as absolute moves and inserts the proper resume height as well as the resume X and Y locations.
Note that if the file is created with Z-Hops or Adaptive Layers then you must use "By Layer" because the variable Z location of Z-Hops confuses the plugin when it's set to "By Height".
In your code snippet:
M18 S5 ;This will cause the steppers to disable in 5 seconds.
M0 ;pause. You have 5 seconds to do what you are going to do.
G1 Z100 ;drop the build plate to an absolute Z=100
G0 Z0.6 ;Move the build plate to absolute Z=0.6
If you take longer than 5 seconds before re-starting the print then the steppers disable and lose their position. That makes the Z100 and Z0.6 really iffy as to where the print head is actually going to end up. The X and Y position are lost also and the remaining print would be catastrophically off.
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!
Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
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
Recommended Posts
nallath 1,124
Why manually write this? You can just use the g-code postprocessor built into Cura.
Link to post
Share on other sites
GregValiant 1,330
If you do a quick test with Pause At Height at Layer:2 you will see that the code generates "relative" moves as well as absolute moves and inserts the proper resume height as well as the resume X and Y locations.
Note that if the file is created with Z-Hops or Adaptive Layers then you must use "By Layer" because the variable Z location of Z-Hops confuses the plugin when it's set to "By Height".
In your code snippet:
M18 S5 ;This will cause the steppers to disable in 5 seconds.
M0 ;pause. You have 5 seconds to do what you are going to do.
G1 Z100 ;drop the build plate to an absolute Z=100
G0 Z0.6 ;Move the build plate to absolute Z=0.6
If you take longer than 5 seconds before re-starting the print then the steppers disable and lose their position. That makes the Z100 and Z0.6 really iffy as to where the print head is actually going to end up. The X and Y position are lost also and the remaining print would be catastrophically off.
Link to post
Share on other sites