can open .ngc file via pyvcp panel?

  • fery15sty
  • Away
  • Premium Member
  • Premium Member
More
02 May 2025 09:15 - 02 May 2025 09:19 #327487 by fery15sty
can open .ngc file via pyvcp panel? was created by fery15sty
I have created a pyvcp macro for a specific program named file.ngc. To run it and change its parameters I have to open the file manually using the open menu on linuxcnc. Can I create a shortcut or button on the pyvcp panel to open the .ngc file?
Attachments:
Last edit: 02 May 2025 09:19 by fery15sty.

Please Log in or Create an account to join the conversation.

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
02 May 2025 14:05 #327500 by andypugh
Replied by andypugh on topic can open .ngc file via pyvcp panel?
If you want to execute a G-code file on pressing a PyVCP button, then I don't think that PyVCP supports this.
You can do it with G-code subroutines and action buttons in GladeVCP or QTVCP though. linuxcnc.org/docs/html/gui/gladevcp.html...an_o_word_subroutine

However, would just changing the default G-code file to be your G-code rather than the Axis splash screen do what is needed?

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum