NativeCAM is Features renamed

More
8 years 7 months ago #107362 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi,

If you saved the project as current work that load automatically when starting ncam, it is
'ncam/catalogs/lathe/projects/current_work.xml' delete it
If not, try deleting 'ncam' subidrectory completely, the one in your inifile directory. It will be recreated automatically when you start lcnc with your inifile if you did not comment or delete the line 'GLADEVCP = -U --catalog....'

Fern

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

More
8 years 7 months ago #107404 by vmihalca
Hi Fern,

I have managed to get it working by deleting the current_work.xml
I am trying to customize nativecam, I have added a custom-menu.xml I see the changes I've made as being applied.
However I have not managed to access a custom .cfg file from the my-stuff folder.
What should be the path to these custom cfg files? I saw that the other cfg files are prefixed with /lathe but all the cfg's are in the lathe folder.

Thanks for your input!
Vasi

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

More
8 years 7 months ago #107450 by FernV
Replied by FernV on topic NativeCAM is Features renamed
You can save your default value by right clicking and selecting 'Save values as default'. No need to write a file for this.

Fern

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

More
8 years 7 months ago #107512 by vmihalca
I was not trying to save any values. I was trying to make a custom-menu that uses one of my cfg files that's referring a modified version of threading.ngc.
I am trying to debug the threading so that I can cut correctly internal and external threads. As I said in a previous post, the formula is different for internal vs external.

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

More
8 years 7 months ago - 8 years 7 months ago #107516 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Then edit threading.ngc and save in my-stuff sub-directory
Do the same with cfg files and edit your menu-custom to point to it
That''s all

Fern
Last edit: 8 years 7 months ago by FernV.

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

More
8 years 3 months ago - 8 years 3 months ago #113281 by BrendaEM
Within the context that time would probably be better spent getting NativeCAM on the distro, if someone could point me in a direction, as I have about 7 hours of failed attempts in getting NativeCam going again. Last time, I was able to get it going, with Synaptic, but....

I had NativeCAM installed and working, but I've needed to recreate my CNC profile. When I got it going, again using....
Code:
ncam -i BrendaCNC.ini -t -c mill

... it appeared to work, but the work sent to Axis behaved oddly: I could not see the work anywhere in the 3D window, while I could with opening another g-code file. Well something must really be wrong.

I tried deinstalling and reinstalling NativeCAM, still.

I reinstalled LinuxCNC from the distro. Recreated my profiles. Edited out the NativeCAM entries so the .ini would be clean.

In my LinuxCNC configuration folder, I launched a terminal and did one of these:
Code:
brenda@BrendaCNC:~/linuxcnc/configs/BrendaCNC$ sudo bash ncam_debsetup.txt [sudo] password for brenda: Detected operating system as debian/wheezy. Checking for curl... Detected curl... Running apt-get update... done. Installing debian-archive-keyring which is needed for installing apt-transport-https on many Debian systems. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/FernV_NativeCAM.list...done. Importing packagecloud gpg key... done. Running apt-get update... done. The repository is setup! Installing NativeCAM... done.

I did one of these, and got one of these:
Code:
brenda@BrendaCNC:~/linuxcnc/configs/BrendaCNC$ ncam -i BrendaCNC.ini -t -c mill Success in modifying inifile : /home/brenda/linuxcnc/configs/BrendaCNC/BrendaCNC.ini NativeCAM info: inifile = /home/brenda/linuxcnc/configs/BrendaCNC/BrendaCNC.ini NCAM_DIR = /home/brenda/linuxcnc/configs/BrendaCNC/ncam SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py Created 9 files in /home/brenda/linuxcnc/configs/BrendaCNC/ncam/catalogs Updated 1 files in /home/brenda/linuxcnc/configs/BrendaCNC/ncam/my-stuff [RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities Real paths: /home/brenda/linuxcnc/configs/BrendaCNC/ncam/my-stuff /usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities Using default mill/menu.xml, no mill/menu-custom.xml found /usr/bin/ncam:2644: 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

NativeCAM did come up while installing, but when I started Axis the NativeCAM tab is there but blank.

I've seen a statement that the Gtk warning should not be a dealbreaker, but the tab is blank.

I've seen seen something on page 14 if this thread that began:
II want you to do this :
Code:
Open a terminal in NativeCAM directory type : ./ncam.py

...but either which correct NativeCAM folder is not specified, or perhaps an environment variable is not sourced, because it can't find it.

Any hints would be appreciated, as I really like NativeCAM. : )
Last edit: 8 years 3 months ago by BrendaEM.

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

Time to create page: 0.180 seconds
Powered by Kunena Forum