NativeCam on LinuxCNC 2.9.3

More
1 year 5 months ago #328865 by Giovanni

There is a slowly developing version for qt screens:
github.com/LinuxCNC/linuxcnc/commits/qt_ncam/

 
To install NativeCAM from that site, should I download or clone all the linuxcnc package of files?

Regards
Giovanni

Please Log in to join the conversation.

More
1 year 5 months ago #328882 by cmorley
Replied by cmorley on topic NativeCam on LinuxCNC 2.9.3
I would clone the repository and compile

Please Log in to join the conversation.

More
1 year 3 months ago #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
 

Please Log in to join the conversation.

More
1 year 3 months ago #332242 by Giovanni

Please Log in to join the conversation.

More
1 year 3 months ago #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

Please Log in to join the conversation.

More
1 year 3 months ago #332430 by Giovanni
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

Please Log in to join the conversation.

More
1 year 3 months ago #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 to join the conversation.

More
1 year 2 months ago #332993 by Giovanni
I have tried it (embedded) in a virtual machine and it seems to work.

Regards
Giovanni

Please Log in to join the conversation.

More
1 year 2 months ago #333321 by Surmetall
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 

Please Log in to join the conversation.

More
1 year 2 months ago #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

Please Log in to join the conversation.

Time to create page: 0.126 seconds
Powered by Kunena Forum