Nativecam alternative install (option)
- robertspark
- Offline
- Platinum Member
Less
More
- Posts: 915
- Thank you received: 216
06 Mar 2022 20:04 - 25 May 2022 21:38 #236529
by robertspark
Nativecam alternative install (option) was created 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.
Download from the git respository:
navigate and edit the makedeb.sh file:
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
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:
you can run
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
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.
sudo apt install -y geany git dpkg-dev debhelper
Download from the git respository:
git clone https://github.com/FernV/NativeCAM.git NativeCAM
navigate and edit the makedeb.sh file:
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
./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:
ncam
ncam -c lathe
ncam -c mill
ncam -c plasma
you can run
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
Last edit: 25 May 2022 21:38 by robertspark.
The following user(s) said Thank You: tjtr33, tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds