- Posts: 22
- Thank you received: 0
NativeCAM is Features renamed
- Transistor
- Offline
- Junior Member
-
I can't seem to get this to work. I started again and had AXIS running properly. Here's what I did next:
- Extract NativeCAM download to my home folder. This will install a folder NativeCAM-master.
- For some reason the unzip creates ~/NativeCAM-master/NativeCAM-master/. I moved the inner one up to ~/ to keep the file paths shorter.
- Go to ~/NativeCAM-master and double-click on ncam.py. It will install the NativeCAM application in standalone mode and open it up.
- Open a Terminal window.
LinuxCNC Errors (abbreviated)
Any ideas? This all seems a bit more difficult than it should be!
Please Log in or Create an account to join the conversation.
DO NOT EXTRACT...Transistor wrote: Hi, Fern.
I can't seem to get this to work. I started again and had AXIS running properly. Here's what I did next:
- Extract NativeCAM download to my home folder. This will install a folder NativeCAM-master.
Instead open a terminal in ~
and use : git clone github.com/FernV/NativeCAM.git
NEVER USE 'sudo' with ncam.py, it will create directories where you only have read permissionsTransistor wrote: - For some reason the unzip creates ~/NativeCAM-master/NativeCAM-master/. I moved the inner one up to ~/ to keep the file paths shorter.
- Go to ~/NativeCAM-master and double-click on ncam.py. It will install the NativeCAM application in standalone mode and open it up.
- Open a Terminal window.Code:cd ~/NativeCAM-master sudo ./ncam.py -i ~/PathTo/MyMillIniFileName.ini -c mill
Erase ~/NativeCAM-master and everything you created with those commands and follow the instructions.
All in a normal user terminal in your home directory
1- clone with : git clone github.com/FernV/NativeCAM.git
2- cd NativeCAM
3- ./ncam.py to make sure it runs stand alone and no package is missing, you can delete ~/nativecam directory later
4- close nativecam
I RECOMMEND THAT YOU NOW RUN : sudo ./nondeb_setup.py c
THEN ISSUE THIS COMMAND : sudo ./nondeb_setup.py
Try : linuxcnc /home/cnc1/NativeCAM/configs/sim/axis/ncam_demo/mill.ini
This will start linuxcnc with nativecam embedded
When satisfied, convert your inifile with this command from ~/NativeCAM directory :
./ncam.py -i /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
A backup ia-mill.ini.bak will be created.
Run linuxcnc normally using : linuxcnc /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
Fern
Please Log in or Create an account to join the conversation.
- Transistor
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0
linuxcnc /home/cnc1/NativeCAM/configs/sim/axis/ncam_demo/mill.ini
This second-last starts AXIS with the NativeCAM panel.
cnc1@CNCPC:~/NativeCAM$ linuxcnc /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
This starts AXIS but without the NativeCAM panel.
Can you spot my error?
Thanks again.
Please Log in or Create an account to join the conversation.
Sometimes it fails to delete old stuff, I have to find out why but the cause may be you started ./ncam.py with a 'sudo' command before.
Restart lcnc with : linuxcnc /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
Fern
Please Log in or Create an account to join the conversation.
- Transistor
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 0
Done + a few more that I found.From '/home/cnc1/linuxcnc/configs/ia-mill/ncam' delete 'cfg', 'graphics' and 'lib' subdirs/links
linuxcnc /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
NativeCAM error popup:
followed by another:
Then AXIS opens without NativeCAM.
Terminal output:
Thanks again.
Please Log in or Create an account to join the conversation.
are the result from running : 'sudo ./ncam.py'
The directory : /home/cnc1/linuxcnc/configs/ia-mill/ncam
is owned by the superuser
You will have to delete it with : sudo rmdir /home/cnc1/linuxcnc/configs/ia-mill/ncam
You should not have any problems with /home/cnc1/NativeCAM directory
Then restart : linuxcnc /home/cnc1/linuxcnc/configs/ia-mill/ia-mill.ini
Fern
Please Log in or Create an account to join the conversation.