To me the easiest would be to monitor the API, but you are right it wouldn't be exact.
NO prob getting dirty with code. Will see how I go. Cheers.
Whats T0/T1?
Sui
To me the easiest would be to monitor the API, but you are right it wouldn't be exact.
NO prob getting dirty with code. Will see how I go. Cheers.
Whats T0/T1?
Sui
T1 and T0 are the gcode command to select the left and right hotend respectively.
These commands are intercepted in the python code on the UM3 and then a more complex sequence of actions is triggered and sent to marlin.
You could easily intercept a M to trigger a bit of python code and create a snapshot and place that snapshot in a folder of the webroot, add to that a api that keeps a new timestamp every time that image is updated and you can monitor that timestamp and get the image every time it's updated, or just keep getting the image every few minutes/seconds and compare images.
you then still need to insert that M code into the gcode file (for instance at every ";LAYER:" line) though.
Recommended Posts
robinmdh 106
I hope that helps!
maybe in the future we can make a snapshotting feature or even a timelapse feature with the cura connect software launching the 7th of November, but that would be a relatively low priority thing, so don't expect it anytime soon.
In the mean time if you want this you'd have to get your hands dirty with some code.
Edited by GuestLink to post
Share on other sites