- Posts: 752
- Thank you received: 0
Move the file after job finished
3 years 9 months ago #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 to join the conversation.
3 years 9 months ago #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
Please Log in to join the conversation.
3 years 9 months ago #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 to join the conversation.
3 years 9 months ago #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 to join the conversation.
Time to create page: 0.082 seconds
