NativeCam on LinuxCNC 2.9.3
- Giovanni
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 26
21 May 2025 16:36 #328865
by Giovanni
Regards
Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
To install NativeCAM from that site, should I download or clone all the linuxcnc package of files?There is a slowly developing version for qt screens:
github.com/LinuxCNC/linuxcnc/commits/qt_ncam/
Regards
Giovanni
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7959
- Thank you received: 2162
22 May 2025 01:21 #328882
by cmorley
Replied by cmorley on topic NativeCam on LinuxCNC 2.9.3
I would clone the repository and compile
The following user(s) said Thank You: Giovanni
Please Log in or Create an account to join the conversation.
- cadcam
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 6
23 Jul 2025 07:45 #332215
by cadcam
Replied by cadcam on topic NativeCam on LinuxCNC 2.9.3
Does anyone have lathe working?
Run - python3 ncam and mill loads
Run - python3 ncam -c lathe and get the attached errors
Thanks
Run - python3 ncam and mill loads
Run - python3 ncam -c lathe and get the attached errors
Thanks
The following user(s) said Thank You: Surmetall
Please Log in or Create an account to join the conversation.
- Giovanni
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 26
23 Jul 2025 21:59 #332242
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
You could try this:
forum.linuxcnc.org/nativecam/53492-nativ...-9-3?start=80#327780
Regards
Giovanni
forum.linuxcnc.org/nativecam/53492-nativ...-9-3?start=80#327780
Regards
Giovanni
The following user(s) said Thank You: cadcam
Please Log in or Create an account to join the conversation.
- cadcam
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 6
24 Jul 2025 04:41 #332251
by cadcam
Replied by cadcam on topic NativeCam on LinuxCNC 2.9.3
I followed all the steps you listed and applied the fixes. Now it loads both standalone and imbedded.
The SYS_DIR sets itself to /usr/bin so i changed it in ncam.py to be "/usr/share/linuxcnc/gladevcp/NativeCAM"
In lathe everything works except change tool and straight turn. When I select these icons they give the following error:
File "/usr/bin/ncam", line 4955, in add_feature
f = Feature(src=src_file)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/ncam", line 1736, in __init__
self.from_src(src)
File "/usr/bin/ncam", line 1864, in from_src
exec(self.attr["init"])
File "<string>", line 2, in <module>
NameError: name 'parent' is not defined. Did you mean: 'reparent'?
Any idea how to reslove this is appreciated. Cheers
The SYS_DIR sets itself to /usr/bin so i changed it in ncam.py to be "/usr/share/linuxcnc/gladevcp/NativeCAM"
In lathe everything works except change tool and straight turn. When I select these icons they give the following error:
File "/usr/bin/ncam", line 4955, in add_feature
f = Feature(src=src_file)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/ncam", line 1736, in __init__
self.from_src(src)
File "/usr/bin/ncam", line 1864, in from_src
exec(self.attr["init"])
File "<string>", line 2, in <module>
NameError: name 'parent' is not defined. Did you mean: 'reparent'?
Any idea how to reslove this is appreciated. Cheers
Please Log in or Create an account to join the conversation.
- Giovanni
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 26
27 Jul 2025 17:00 - 27 Jul 2025 17:34 #332430
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
I have found 2 problems: in turning and tool-change operations.
I found a workaround since at this moment I have no time to really understand and find a solution for the errors.
So, please do not consider it a solution.
In the folder /home/your_user_name/nativecam/cfg/lathe/ you should find the
config .cfg files.
(Or maybe the files you are using are in /usr/share/linuxcnc/gladevcp/NativeCAM/cfg/lathe/)
Edit the turning.cfg file and search for the word "parent" (without quotes).
(maybe you could make a backup copy before editing)
I have found it in line 71, 99, 100
Place a semicolon (that it means comment) at the beginning of each line containing the word "parent".
Save the file.
Same procedure for the tool-change.cfg file.
Please comment lines 76 to 80 and 198 to 203 containing "parent"
The turning operation and the tool-change seems to work.
I don't know if there would be side effects.
Hope this helps.
Regards
Giovanni
I found a workaround since at this moment I have no time to really understand and find a solution for the errors.
So, please do not consider it a solution.
In the folder /home/your_user_name/nativecam/cfg/lathe/ you should find the
config .cfg files.
(Or maybe the files you are using are in /usr/share/linuxcnc/gladevcp/NativeCAM/cfg/lathe/)
Edit the turning.cfg file and search for the word "parent" (without quotes).
(maybe you could make a backup copy before editing)
I have found it in line 71, 99, 100
Place a semicolon (that it means comment) at the beginning of each line containing the word "parent".
Save the file.
Same procedure for the tool-change.cfg file.
Please comment lines 76 to 80 and 198 to 203 containing "parent"
The turning operation and the tool-change seems to work.
I don't know if there would be side effects.
Hope this helps.
Regards
Giovanni
Last edit: 27 Jul 2025 17:34 by Giovanni.
Please Log in or Create an account to join the conversation.
- cadcam
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 6
30 Jul 2025 04:48 #332540
by cadcam
Replied by cadcam on topic NativeCam on LinuxCNC 2.9.3
Thanks! Unfortunately for turning this change allows it to run but breaks the code for this function.
Please Log in or Create an account to join the conversation.
- Giovanni
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 26
07 Aug 2025 08:58 #332993
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
I have tried it (embedded) in a virtual machine and it seems to work.
Regards
Giovanni
Regards
Giovanni
Please Log in or Create an account to join the conversation.
- Surmetall
-
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 17
13 Aug 2025 09:41 #333321
by Surmetall
Replied by Surmetall on topic NativeCam on LinuxCNC 2.9.3
Hello all,
I’ve been using nativeCAM for several years on my milling machine and I’m really impressed. I’m currently converting a CNC lathe, and it was planned from the start that nativeCAM would be used there as well. On closer inspection of the Screenshots in this thread I’ve realized that the turning version doesn’t have a “polyline” feature. I could hardly believe that. This one amazing tool would make the software unbeatable! Polyline + G71 could program the most complex turning parts with just a few clicks in a minute and replace 90% of CAD/CAM.
Do i miss miss something, maybe there is a good reason. Are there no Lathe useres for nativeCAM?
greetings Tom
I’ve been using nativeCAM for several years on my milling machine and I’m really impressed. I’m currently converting a CNC lathe, and it was planned from the start that nativeCAM would be used there as well. On closer inspection of the Screenshots in this thread I’ve realized that the turning version doesn’t have a “polyline” feature. I could hardly believe that. This one amazing tool would make the software unbeatable! Polyline + G71 could program the most complex turning parts with just a few clicks in a minute and replace 90% of CAD/CAM.
Do i miss miss something, maybe there is a good reason. Are there no Lathe useres for nativeCAM?
greetings Tom
Please Log in or Create an account to join the conversation.
- cadcam
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 6
17 Aug 2025 01:10 #333531
by cadcam
Replied by cadcam on topic NativeCam on LinuxCNC 2.9.3
Hi Tom,
No one is using NativeCAM with Python 3 on Lathe because it doesn't work as is. Sort of ironic because it has a much more practical application on lathe than mill in my opinion.
In relation to canned cycles, G71 is only recently supported by linuxcnc and wasn't avaliable when NativeCAM was written. The latest bug is supposedly fixed in 2.9.4 as without this fix, the can cycle is limited.
forum.linuxcnc.org/38-general-linuxcnc-q...-value-is-this-a-bug
Due to priority and time, I haven't tested it yet.
Cheers
No one is using NativeCAM with Python 3 on Lathe because it doesn't work as is. Sort of ironic because it has a much more practical application on lathe than mill in my opinion.
In relation to canned cycles, G71 is only recently supported by linuxcnc and wasn't avaliable when NativeCAM was written. The latest bug is supposedly fixed in 2.9.4 as without this fix, the can cycle is limited.
forum.linuxcnc.org/38-general-linuxcnc-q...-value-is-this-a-bug
Due to priority and time, I haven't tested it yet.
Cheers
The following user(s) said Thank You: Surmetall
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds