NativeCAM is Features renamed

More
9 years 1 month ago - 9 years 1 month ago #99424 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Looks like you have NOT installed the deb package.

Delete directory /home/linuxcnc/NewNativeCam completely and any references to the old non-deb setup you have. DO NOT CHECK OUT ANYMORE FROM GITHUB UNLESS YOU WANT TO DO TRANSLATION

Install with instructions you have here : forum.linuxcnc.org/40-subroutines-and-ng...age-now?limitstart=0
then run $ 'ncam -c lathe -i /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini'
$ 'ncam -h' will show help

WARNING : lathe code is not completed and has not been tested cause my lathe is not completely converted yet

Fern
Last edit: 9 years 1 month ago by FernV.

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

More
9 years 1 month ago #99427 by vmihalca
Thanks for your quick reply.
I did installed as you suggested and now when I open linuxcnc I get two dialogs with the following messages.

Error creating link : /usr/share/linuxcnc/aux_gladevcp/NativeCAM/examples/mill -> /home/linuxcnc/linuxcnc/configs/test_setup/ncam/catalogs/mill/projects/examples
Code : [Errno 17] File exists

Error creating link : /usr/share/linuxcnc/aux_gladevcp/NativeCAM/examples/plasma -> /home/linuxcnc/linuxcnc/configs/test_setup/ncam/catalogs/plasma/projects/examples
Code : [Errno 17] File exists

Once I close these, linuxcnc starts successfully but there is no side window with nativecam.
I'm I missing something ?

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

More
9 years 1 month ago #99435 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Some files were not deleted. You should have a sub-directory named 'ncam' in your inifile directory. Make sure it is completely deleted.

Since some files exist, ncam aborted and was not loaded. Do not re-install NativeCAM,
just enter $ 'ncam -c lathe -i /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini' OR the path to the inifile you want and do NOT enter 'sudo' it must be done with user rights only.

Fern
The following user(s) said Thank You: vmihalca

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

More
9 years 1 month ago - 9 years 1 month ago #99526 by vmihalca
Hi Fern,

Thanks for the previous responses! :)
I've deleted the ncam subdirectory in the inifile directory and then I ran:

linuxcnc@linuxcnc:~/linuxcnc/configs/test_setup$ ncam -i test_setup.ini -t -c lathe

NativeCAM info:
inifile = /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini
NCAM_DIR = /home/linuxcnc/linuxcnc/configs/test_setup/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py

[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/lathe:ncam/lib/utilities
Real paths:
/home/linuxcnc/linuxcnc/configs/test_setup/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/lathe
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities

Using default lathe/menu.xml, no lathe/menu-custom.xml found

/usr/bin/ncam:2442: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Previous work not saved as current work

It completed without errors and it opened the stand alone native cam.
I've closed the stand alone native cam, then opened linuxcnc, it started successfully but there's no native cam tab.
What can I do so that I see the nativecam embedded into linuxcnc?

Thanks for your previous responses! :)
Last edit: 9 years 1 month ago by vmihalca. Reason: Added more details

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

More
9 years 1 month ago #99527 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Have you started linuxcnc with this command ?
$ linuxcnc /home/linuxcnc/linuxcnc/configs/test_setup/test_setup.ini

or specify a relative path for the inifile

Fern

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

More
9 years 1 month ago #99530 by vmihalca
I have started it by clicking the link I had on the desktop. I thought that's using the updated ini file.
I'll run it as you said and let you know! :)
Thanks for your support!

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

Time to create page: 0.100 seconds
Powered by Kunena Forum