Indication of print in progress
-
@dc42 has having start.g and end.g files ever been considered? Is there any reason not to have those?
-
@rubillos end.g = stop.g
-
And that is also called when a print is canceled?
-
The http method @dc42 recommends has a few benefits.
- No extra wiring or failure points.
- If in the (unlikely) event of a process hang the http will stop responding and you can cancel your capture.
-
-
@doctrucker said in Indication of print in progress:
The automatic call of an optional start.g gcode does seem like an ommision. @dc42 is there anything on the horizon?
I implemented this many releases ago.
-
@rubillos said in Indication of print in progress:
And that is also called when a print is canceled?
No, cancel.g is called instead.
-
@dc42 documentation hasn't caught up yet.
-
@doctrucker True. That might be the way to go... I'll have a look at modifying my time-lapse code.
There are just so many I/O pins on the Duex5, seemed like an easy thing to hook up
-
@dc42 So start.g is called when a print starts?
-
@rubillos said in Indication of print in progress:
@dc42 So start.g is called when a print starts?
Yes, whenever a print from SD card starts. I have updated the documentation at https://duet3d.dozuki.com/Wiki/Macros.
-
@dc42 Awesome! Thank you!
-
@resam has a raspberry pi camera solution as well, though I can't seem to find the thread at the moment.
-
-
@phaedrux Thanks for the link!