Sorry, we don't support your browser.  Install a modern browser

Add gcode macro for 'max_layer_z': the height of a printed object (for better autoprint ejection)#403

I

Hi there!

When using the autoprint with print head push-off, the printhead is currently moved to z = 1.5 mm, regardsless of the printed object. I have noticed some failed pushoffs because of this low z height. Having a higher z height enables a significantly higher torque on the part when autoejecting, making ejections safer and more reliable.
Taking inspiration from Factorian Design (

8:17)

It would be very useful to be able to set the z height as follows:

{if (max_layer_z ) > 41}
G1 Z{max_layer_z - 10} F600
{else}
G1 Z1 F600
{endif}

However, there is currently no max_layer_z macro. Adding this would be lovely.

Thanks.

6 days ago