Move the file after job finished

More
3 years 9 months ago #261451 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?
 

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
3 years 9 months ago #261461 by HansU
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

Please Log in to join the conversation.

More
3 years 9 months ago #261464 by HansU
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.

More
3 years 9 months ago #261472 by mariusl
Awesome thanks Hans

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum