Nativecam alternative install (option)

More
4 years 7 months ago #236529 by robertspark
I stumbled across this, and thought that it may be of use to someone.

Note, this will ONLY work when Python2 is available as NativeCAM has not yet been updated to python 3.

You may need to install some dependancies, I am running linuxcnc installed via the 2.8.2 ISO along with debian Buster.
Code:
sudo apt install -y geany git dpkg-dev debhelper


Download from the git respository:
Code:
git clone https://github.com/FernV/NativeCAM.git NativeCAM

navigate and edit the makedeb.sh file:
Code:
geany ~/NativeCAM/debian/makedeb.sh


change line 20 from:
(cd ..; debuild -us -uc -b)
to
(cd ..; dpkg-buildpackage -j4 -us -uc -b)

if you have more cores available it will speed up the build process with -j4.

save and close and run the file
Code:
./NativeCAM/debian/makedeb.sh [code] then install the deb file created using: [code] sudo dpkg -i nativecam_0.1.14a_all.deb

I can't remember the full name of the deb it creates use your <TAB> key to autocomplete after typing the first few letters.

then run any one of the following for NativeCAM to run in the stand alone mode:
Code:
ncam ncam -c lathe ncam -c mill ncam -c plasma

you can run
Code:
ncam --help

to see how to install nativecam embeded within your inifile

hope this helps someone out.

as an alternative to using the script an curl which was giving me issues with the key and also changing the repository from "stretch" to "buster"..... it seems to just work fine this way.   At least that is my experiance so far

...... now to learn how to convert from python 2 >> python 3 ...... {2to3...} or more importantly the changes from GTK2 to GTK3 which seem to be a little more complex

Please Log in to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum