prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.65k stars 1.92k forks source link

Add option change bed temp (actually turn off or lower) certain time before print end. #9039

Open vovodroid opened 1 year ago

vovodroid commented 1 year ago

It would be nice at the end of print to get bed cool enough to remove object immediately.

As alternative add placeholders for total print time/elapsed (fir instance in seconds) available on layer change. Thus we could add something like

if {total_print}-{elapsed} < 600 M140 S0

foreachthing commented 1 year ago

Well, with a little math you can do that already: image Eye-ball the time (runtime in layer scrollbar) to turn the bed off, add custom g-code (left click where, then right click and add code) and voilà!

But, I'd be afraid to lose my print just in the last second, because it doesn't stick anymore...

vovodroid commented 1 year ago

with a little math you can do that already:

Sure, but it would be nice to get it in more handy form ))

, I'd be afraid to lose my print just in the last second, because it doesn't stick anymore...

It depends on filament, bed, model bottom area... Sometimes it could stick too strong.

foreachthing commented 1 year ago

Sure, but it would be nice to get it in more handy form ))

Agreed 😄

l29ah commented 9 months ago

In klipper you can use the following macro that utilizes prusaslicer's remaining time gcodes:

[gcode_macro M73] 
gcode: 
        {% if params.R == '1' %}        ; one minute before ending the print 
        M140 S0 ; turn off heated bed 
        {% endif %} 
        RESPOND TYPE=command MSG="{ params.R|int } mins | { params.P|int } %"