gcode : disabling heatbed when only n layers remaining OR z> specified height?
 
Notifications
Clear all

gcode : disabling heatbed when only n layers remaining OR z> specified height?  

  RSS
Pepe le Vamp
(@pepe-le-vamp)
Trusted Member
gcode : disabling heatbed when only n layers remaining OR z> specified height?

Hi there boys & girls.

I would like my heat bed to turn off 5 or 10 minutes before my print finishes, assuming that the model is reasonably tall.

I have learned the best place to put this would be in the layer-change gcode. My question is - is there a variable I can use in gcode that tells me how close we are to finishing the print? Such as 'n layers remaining'.

I also thought turning off the heat bed when the model is a certain height would be useful - say 5mm from being completed.

I am aware of this link here but I'm not sure what I could use http://mauk.cc/mediawiki/index.php/Slic3r_placeholders

Posted : 10/12/2019 4:00 pm
vintagepc
(@vintagepc)
Member
RE: gcode : disabling heatbed when only n layers remaining OR z> specified height?

Why risk your print detaching when so close to being finished?

Posted : 10/12/2019 4:39 pm
Pepe le Vamp
(@pepe-le-vamp)
Trusted Member
Topic starter answered:
RE: gcode : disabling heatbed when only n layers remaining OR z> specified height?

its not a risk because the heat bed takes about 5 minutes to get down to a temperature where its worth worrying about. and even then it only matters if its printing for a long time at the lower temperature.

i do quite a bit of rapid prototyping and the bed cooling down & waiting on it is a factor for me. i have learned that unless the print bed is cold if you lift off your PLA print you will definitely warp it.

it just takes ages to get down to 27 degrees, which i consider safe for my purposes.

Posted : 11/12/2019 6:17 pm
bobstro
(@bobstro)
Illustrious Member
RE: gcode : disabling heatbed when only n layers remaining OR z> specified height?

The max_print_height and layer_z placeholders should do what you want. Look at the Prusa end gcode for an example. 

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Posted : 11/12/2019 11:01 pm
Share: