Move the file after job finished
10 Jan 2023 15:24 #261451
by mariusl
Regards
Marius
www.bluearccnc.com
Move the file after job finished was created by mariusl
Hi,
I want to put a button on the screen that will move the current gcode file to a folder after the operator has cut the job.
Is it possible and how would one approach that if possible?
I want to put a button on the screen that will move the current gcode file to a folder after the operator has cut the job.
Is it possible and how would one approach that if possible?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
10 Jan 2023 16:04 #261461
by HansU
Replied by HansU on topic Move the file after job finished
Hi,
Yes you can do this by adding an embedded VCP (also called embedded tab) and write the functionality in a python script.
See here linuxcnc.org/docs/2.9/html/gui/gmoccapy....tabs-and-side-panels
An example for such a VCP in Gmoccapy you can find here: forum.linuxcnc.org/gmoccapy/45856-spindl...k-in-gmoccapy#242882
Yes you can do this by adding an embedded VCP (also called embedded tab) and write the functionality in a python script.
See here linuxcnc.org/docs/2.9/html/gui/gmoccapy....tabs-and-side-panels
An example for such a VCP in Gmoccapy you can find here: forum.linuxcnc.org/gmoccapy/45856-spindl...k-in-gmoccapy#242882
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
10 Jan 2023 16:11 #261464
by HansU
Replied by HansU on topic Move the file after job finished
And the filename you can get from linuxcnc.stat(): linuxcnc.org/docs/2.9/html/config/python...xcnc_stat_attributes (look for "file")
Please Log in or Create an account to join the conversation.
10 Jan 2023 17:13 #261472
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Move the file after job finished
Awesome thanks Hans
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds