NativeCam on LinuxCNC 2.9.3

More
06 Apr 2025 20:08 #325833 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
In your .ini file it seems that there is no space separator between --catalog=mill and the path:
EMBED_TAB_COMMAND = gladevcp -x (XID) -U --catalog=mill/usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

Become:
EMBED_TAB_COMMAND = gladevcp -x (XID) -U --catalog=mill /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

Regards
Giovanni
The following user(s) said Thank You: gmouer, tommylight

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

More
06 Apr 2025 21:07 #325837 by gmouer
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3
Thanks for all the help !

I inserted the space that you pointed out.          Same result, NativeCAM tab but it is empty.

I launched in terminal by typing Linuxcnc and then selecting the axis simulator

Below is the terminal window messages.       I see a couple issues but don't know why.

Below is the terminal window messages,  I see a couple issues but do not know how to resolve them.
I also included the ini file.

 

File Attachment:

File Name: terminal_w...4-06.txt
File Size:2 KB


 

File Attachment:

File Name: ini_file_2...4-06.txt
File Size:5 KB
Attachments:

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

More
06 Apr 2025 21:16 #325839 by gmouer
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3
I have been hoping that BecksVill (Andrew) would return, he has the same issue as me (Tab but empty) Unfortunately he has not been in the forum for 15 days

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

More
06 Apr 2025 21:40 #325840 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
EMBED_TAB_COMMAND = gladevcp -x (XID) -U --catalog=mill/usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

It should be in curly brackets {XID}.

Regards
Giovanni
The following user(s) said Thank You: gmouer

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

More
06 Apr 2025 21:52 #325841 by gmouer
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3
That last piece of the puzzle did it !!!!!!!

It now  launches, embedded.  

Thanks so much for all the help !          Hopefully others will benefit from this adventure.

The Nativecam looks to be a newer version than the one I have been using.   Now I have to get current with the changes over time.

 

 

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

More
07 Apr 2025 19:05 #325881 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Well done.

So let's do a quick recap to facilitate other users.
The procedure is correct except for the error in step 9, where is written "/usr/share/linuxcnc/aux_gladevcp", instead of "/usr/share/linuxcnc/gladevcp/".
Is that right?

Regards
Giovanni

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

More
07 Apr 2025 22:03 - 07 Apr 2025 22:05 #325886 by gmouer
Replied by gmouer on topic NativeCam on LinuxCNC 2.9.3
Hi Giovanni !

Step #1     I misread that as python3-lxml being already installed with the install of Linuxcnc.      Wrong of course and caused problems

Step#3     I didn't know where to expand the zip file.      Later I seen it didn't matter moved to the gladevcp folder

Step #5   "sudo ln "   I misread that as a upper case I at first.    

Step #8   I misread   {XID}  as (XID)  which also caused problems

Misc:    aux_gladevcp  should be changed to gladevcp as already mentioned

Much of the problems were due to me printing out the instructions and the pdf being in a quite small font which lead to me misreading some things.   A larger font would help here.

Thanks again for all your work !!
Last edit: 07 Apr 2025 22:05 by gmouer.

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

More
08 Apr 2025 08:10 #325902 by hermann1976
Replied by hermann1976 on topic NativeCam on LinuxCNC 2.9.3
Hi Giovanni,
Thank you very much for your efforts in integrating the NativeCAM plugin into the current version of LinuxCNC 2.9.4. Thanks to everyone else as well.
I've been looking for a way to generate simple programs within the LinuxCNC control system for a while. I only came across the NativeCAM plugin late. I installed NativeCAM according to the instructions and have now got it running as a plugin in the axis environment.

However, I have the problem that I can access the NativeCAM preferences, but the settings aren't saved. Can anyone else confirm this?

I also can't run NativeCAM as a standalone program with the command: "ncam -i (path to ini file) -c mill." This results in error messages. I'll add them later.
I would like to run NativeCAM alongside the QTDragon screen (as a standalone program) if possible. Would that be possible?

Thank you very much, and I ask for your help.
(translated from German to English via Google translate)

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

More
09 Apr 2025 19:33 - 13 Apr 2025 18:35 #326007 by michaeln
Replied by michaeln on topic NativeCam on LinuxCNC 2.9.3
yes, i can confirm the setting are not saved.
There is an error.

Start with the option -i and -s don't work, there are errors, too.

Dear Giovanni, thanks for your manual.
For me point 9 doesn't worked. The start as standalone doesn't worked because there are errors.
For me it is working with a softlink and you don't have to copy and delete:
sudo ln -s /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.py /usr/bin/ncam

For point 1 (and 2) i think it's easier with the command:
sudo apt install python3-lxml git

For point 2:
git clone https://github.com/freemoore/NativeCAM

Point 6: You use gedit, but it is not installed by default. Geany is installed by default from LinuyCNC.

Best regards

Michael
Last edit: 13 Apr 2025 18:35 by michaeln.
The following user(s) said Thank You: Giovanni

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

More
12 Apr 2025 07:57 - 12 Apr 2025 09:33 #326152 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
For the prefs saving problem, try to replace the existing file, with the attached file.
Maybe the repository is not updated.

Thanks for the suggestions about the guide. They seem more professional than mine.
I'll update the doc.

Regards
Giovanni 
Attachments:
Last edit: 12 Apr 2025 09:33 by Giovanni.
The following user(s) said Thank You: hermann1976

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

Time to create page: 0.138 seconds
Powered by Kunena Forum