-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Add 'Stop Execution' button #399
Comments
Yes, Please add big red STOP button! |
Which driver? Which device? On the Epilog devies e.g. the job is just sent to the cutter and has to be started there manually, which also works if the cable is disconnected, so there is no way to stop or start a job from VisiCut. |
I understand that this is not a problem in every scenario, only tried grbl and smoothie boards but as far as I've seen there are to different workflows, in Epilog/smoothie(in html mode) the job is sent to the machine as a whole and then you can start/stop/pause the job with the machine interface, this makes perfect sense. On grbl/smoothie( ip or serial mode) visicut acts as a host and streams the job to the machine, problem there is that once you press execute you lose control over the proccess so if you need to stop you have to close visicut || pull usb || kill switch. Main thing is the annoyance of having to set it up again for the smallest mistake like realizing that you need 10% more laser in the first 5 seconds. For those cases would be great to be able to pause/stop the stream, maybe a little trickier cos you need to make sure laser goes off. |
Yes, I understand the issue. Currently I am not using any |
AFAIK all of the streaming drivers are blocking, e.g. sendJob() in GenericGCodeDriver does not return until the whole job is sent. My suggestion would be to
Just to be clear, same as @t-oster I won't be the one who implements this, I can just help you do it. For inspiration, something similar is in the engrave dithering code to abort calculating the preview: VisiCut/src/com/t_oster/visicut/gui/beans/PreviewPanel.java Lines 290 to 295 in af8129d
And the best thing is that the first step is already done: sendJob is called here, and this is already inside a thread. VisiCut/src/com/t_oster/visicut/gui/MainView.java Line 2255 in 0beb401
But now it's up to you @darkjavi . |
The K40 can do this. The job streams to the device without the entire queue posted, but even when the queue is in there it can be sent a |
Related: t-oster/LibLaserCut#158 |
Related: #706 |
There is no way for now to stop job execution if it started, need to disconnect cutter physically which is very annoying.
The text was updated successfully, but these errors were encountered: