Using Nativecam generated /xml files in 2.9

  • skrap58
  • skrap58's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
25 Sep 2023 11:57 #281589 by skrap58
Hello,
I have LInuxcnc 2.9 set up and running on Ubuntu Lunar 23.04 and the 6.2 rt kernel.  Everything is running as expected.  I have several .xml files for machining that were generated using NativeCam in Axis on 2.8.
My question ,  Can these files be converted to run on 2.9? and "What is the procedure for converting these files to run with 2.9?"  

Skrap58

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
25 Sep 2023 11:59 #281590 by rodw
you need to convert python code from 2.7 to 3.x
The following user(s) said Thank You: skrap58

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

  • skrap58
  • skrap58's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
25 Sep 2023 13:04 #281597 by skrap58
Replied by skrap58 on topic Using Nativecam generated /xml files in 2.9
Thank you for the very quick reply Rodw Do you have a preferred way to convert. I have read about the 2to3 converter here docs.python.org/3/library/2to3.html
and that calls for .py files. Sorry for my inexperience with python, Would this tool for for the .xml files?

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
25 Sep 2023 17:04 #281603 by Aciera
Replied by Aciera on topic Using Nativecam generated /xml files in 2.9
Those xml files are only usable in NativeCAM, they cannot be converted.
What Rod is referring to is that NativeCAM itself would need to be converted to python3/gtk3 for it to work together with linuxcnc 2.9 or higher and that would be quite a bit of work.

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

  • skrap58
  • skrap58's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
25 Sep 2023 18:29 #281604 by skrap58
Replied by skrap58 on topic Using Nativecam generated /xml files in 2.9
Thank you for the clarification. Back to the drawing board.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum