- Posts: 50
- Thank you received: 0
NativeCam on LinuxCNC 2.9.3
2 years 3 weeks ago #311239
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
I have seen those problems. When I'll have some spare time, I'll try to fix them.
Since at this moment I have no much time I attach a text I have found recently.
Maybe the author is Fernand.
You have a standalone version of NativeCAM working, so I think you have only to made changes to embed it in LinuxCNC.
And I suppose you can run ncam from any place in the terminal simply by typing ncam.
You could follow that guide in the first 4 points to try to have NativeCAM in a LinuxCNC tab.
Remember to verify your paths.
In my case they were different respect those writtten in the guide and I had to adjust them.
One of the differences is the path:
/usr/share/pyshared/gladevcp
on my Raspberry is:
/usr/lib/python3/dists-packages/gladevcp
You can firstly verify the situation listing the directories.
If you write down the changes you make (I haven't... ) the guide could be written by you.
Regards
Giovanni
Since at this moment I have no much time I attach a text I have found recently.
Maybe the author is Fernand.
You have a standalone version of NativeCAM working, so I think you have only to made changes to embed it in LinuxCNC.
And I suppose you can run ncam from any place in the terminal simply by typing ncam.
You could follow that guide in the first 4 points to try to have NativeCAM in a LinuxCNC tab.
Remember to verify your paths.
In my case they were different respect those writtten in the guide and I had to adjust them.
One of the differences is the path:
/usr/share/pyshared/gladevcp
on my Raspberry is:
/usr/lib/python3/dists-packages/gladevcp
You can firstly verify the situation listing the directories.
If you write down the changes you make (I haven't... ) the guide could be written by you.
Regards
Giovanni
Please Log in to join the conversation.
2 years 3 weeks ago #311306
by freemoore
Replied by freemoore on topic NativeCam on LinuxCNC 2.9.3
Ok, I'll give it a go. I've stripped out references to ncam in my ini file and deleted the folders that were created, and am going back to the start of the installation again, taking notes. If they end up coherent and I work out getting it into a tab, I'll post the results here.
Please Log in to join the conversation.
2 years 3 weeks ago #311336
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
The following are the lines I have added to my .ini, all into DISPLAY section:
[DISPLAY]
# required NativeCAM item :
NCAM_DIR = ncam
# required NativeCAM item :
PROGRAM_PREFIX = ncam/scripts/
# required NativeCAM item :
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
Note:
/usr/share......ncam.ui is where is located ncam on my computer.
Maybe different from yours. Locate where is your ncam files to create the path.
Mine, IMO, is not the right place, but for now, since ncam works, I'll not change it.
In the terminal you could type:
which ncam
It will display the full path where is ncam that you run.
Regards
Giovanni
[DISPLAY]
# required NativeCAM item :
NCAM_DIR = ncam
# required NativeCAM item :
PROGRAM_PREFIX = ncam/scripts/
# required NativeCAM item :
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui
Note:
/usr/share......ncam.ui is where is located ncam on my computer.
Maybe different from yours. Locate where is your ncam files to create the path.
Mine, IMO, is not the right place, but for now, since ncam works, I'll not change it.
In the terminal you could type:
which ncam
It will display the full path where is ncam that you run.
Regards
Giovanni
Please Log in to join the conversation.
2 years 3 weeks ago #311339
by andypugh
Replied by andypugh on topic NativeCam on LinuxCNC 2.9.3
Is the problem with Python3 or are there Gtk problems too?
Please Log in to join the conversation.
2 years 3 weeks ago #311344
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Now NativeCAM is running with Python3 and Gtk "without" problems, at least as standalone.
There are some problems and Gtk deprecations to fix. but it works.
On my Raspberry Pi machine it runs enbedded in LinuxCNC too.
I think all of you could run it as embedded configuring paths etc...
Regards
Giovanni
There are some problems and Gtk deprecations to fix. but it works.
On my Raspberry Pi machine it runs enbedded in LinuxCNC too.
I think all of you could run it as embedded configuring paths etc...
Regards
Giovanni
Please Log in to join the conversation.
2 years 3 weeks ago #311362
by andypugh
Replied by andypugh on topic NativeCam on LinuxCNC 2.9.3
Have you considered submitting your fixes as a pull-request to the repository that you got it from?
(or, maybe better, to the original FernV repo, unless that has been abandoned)
(or, maybe better, to the original FernV repo, unless that has been abandoned)
Please Log in to join the conversation.
2 years 2 weeks ago #311753
by freemoore
Replied by freemoore on topic NativeCam on LinuxCNC 2.9.3
Ach, got a bad case of not copying my post text before hitting submit and losing what I'd typed.
Essentially, for me nativecam works still only as a standalone; and goes like this: If I run only the 'ncam.py' command I get the nativecam interface but without connection to the tooltable, and unable to send part programs to lcnc.
However if I include what's supposed to be the setup instructions i.e. ncam.py --ini=/path/to/my/inifile --catalog=mill -t, and start linuxcnc before executing that command, I get ncam as standalone but with the tooltable accessible, and can check the autoupdate box and have it work more or less as it used to when integrated into a tab.
I've had a couple of goes at going through Fernand's instructions that Giovanni attached as a pdf file above but so far no joy; just completed a full reinstall from the lcxnc 2.9.3 iso so have a clean system and will give it another shot.
Essentially, for me nativecam works still only as a standalone; and goes like this: If I run only the 'ncam.py' command I get the nativecam interface but without connection to the tooltable, and unable to send part programs to lcnc.
However if I include what's supposed to be the setup instructions i.e. ncam.py --ini=/path/to/my/inifile --catalog=mill -t, and start linuxcnc before executing that command, I get ncam as standalone but with the tooltable accessible, and can check the autoupdate box and have it work more or less as it used to when integrated into a tab.
I've had a couple of goes at going through Fernand's instructions that Giovanni attached as a pdf file above but so far no joy; just completed a full reinstall from the lcxnc 2.9.3 iso so have a clean system and will give it another shot.
Please Log in to join the conversation.
2 years 2 weeks ago #311765
by Giovanni
Regards
Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Sorry, but I am not able to do that.Have you considered submitting your fixes as a pull-request to the repository that you got it from?
(or, maybe better, to the original FernV repo, unless that has been abandoned)
Regards
Giovanni
Please Log in to join the conversation.
2 years 2 weeks ago #311766
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Sorry, I am short of time, but I have write a short note (excuse me it is in italian)
I hope, integrated with the previous test, maybe it could help.
Regards
Giovanni
I hope, integrated with the previous test, maybe it could help.
Regards
Giovanni
Please Log in to join the conversation.
2 years 1 week ago #312587
by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
@freemoore: if you want, we can try to install/configure together.
Maybe we would be lucky enough to get NativeCam full working on your pc.
Maybe we would be lucky enough to get NativeCam full working on your pc.
Please Log in to join the conversation.
Time to create page: 0.129 seconds
