NativeCam on LinuxCNC 2.9.3

More
1 year 11 months ago #314657 by freemoore
Hi Giovanni and others,

Didn't think it would take me an entire month to find time to try this, but that's what's happened. Giovanni, many thanks to you for your clear and thorough instructions, I have nativecam working embedded in a tab.

Linuxcnc version is 2.9.3.

Followed Giovanni's guide but had some issues/found solutions as follows:

I wanted to use Giovanni's latest edit of ncam.py as downloaded from p2 of this topic so extracted that to the Desktop and did:

> Desktop sudo cp ncam.py /usr/share/linuxcnc/gladevcp/NativeCAM
> Desktop sudo cp ncam.py /usr/lib/python3/dist-packages/

- I guess one of those is likely unnecessary but I'm not sure which, leaving them both there for now.

On my system there were already some lines pointing to gladevcp instead of aux_gladevcp, so where Giovanni's instructions say 'aux_gladevcp' I substituted just 'gladevcp'

I couldn't get the system to append the path: /usr/lib/python3/dist-packages/gladevcp to the pythonpath but it already contained: /usr/lib/python3/dist-packages, so instruction number 5 becomes this:

Move to the dist-packages directory:
> cd /usr/lib/python3/dist-packages

Create symbolic links to the files in the NativeCAM folder:
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.py -s
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.glade -s
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/pref_edit.py -s

(A few times I saw an error like 'ModuleNotFound: pref_edit.py' so added a symlink to that)

and a couple of other errors mostly due to me reading through a file too fast and putting a couple of things in the wrong place.

for no. 8: again, gladevcp instead of aux_gladevcp

I did not use instruction no. 9 as I don't use ncam as standalone.

Trying out first cuts using embedded nativecam last night, works as expected so far. No crashes as yet. Thanks also to BogdanTheGeek for the initial update!
The following user(s) said Thank You: gmouer, Clive S, COFHAL, Aciera, Giovanni

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

More
1 year 11 months ago #314798 by Giovanni
I am happy to hear that you reached the goal.

Now we could integrate your experience in the installing intructions file.
We have NativeCAM working on LinuxCNC 2.9 and 2.10 beta, Rapberry Pi and Debian.

Yes, we have to thank BogdanTheGeek for the big job of porting NativeCAM from python2 to python3.

Regards
Giovanni
The following user(s) said Thank You: gmouer, Clive S, COFHAL, Unlogic

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

More
1 year 10 months ago #316682 by COFHAL
Replied by COFHAL on topic NativeCam on LinuxCNC 2.9.3
I have LCN version 2.9.3 on Debian 12, but in /usr/share/linuxcnc/, but there is no aux_gladevcp folder, nor a folder named gladevcp.

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

More
1 year 10 months ago - 1 year 10 months ago #316693 by Giovanni
You could try to create a new path /usr/share/linuxcnc/gladevcp/NativeCAM and follow the alternative instructions given up there by freemoore since he runs LinuxCNC on Debian.

Regards
Giovanni
Last edit: 1 year 10 months ago by Giovanni. Reason: syntax
The following user(s) said Thank You: COFHAL

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

More
1 year 9 months ago #318246 by Becksvill
hey guys

also interested in trying native cam

i have a new install of the 2.93 iso.  (current release i think)

are you guys still around and checking the forum?  this is 2 months old

cheers

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

More
1 year 9 months ago #318553 by Giovanni
Yes, I'm still around...

Cheers
The following user(s) said Thank You: gmouer

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

Time to create page: 0.156 seconds
Powered by Kunena Forum