- Posts: 13
- Thank you received: 0
Native cam help with ini.file/ subroutine_path
- Dougefresh
- Topic Author
- Offline
- New Member
-
Please Log in to join the conversation.
- Dougefresh
- Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Please Log in to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
-
- Posts: 403
- Thank you received: 0
Can you post your ini file?
Please Log in to join the conversation.
- Dougefresh
- Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Please Log in to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
-
- Posts: 403
- Thank you received: 0
github.com/FernV/NativeCAM
go into terminal and issue this command from your home folder:
When complete you will have a new folder named ncam in your home directory. Enter the directory and follow the read me for imbedded ncam into axis.
In your ini you have to edit your display section and also your paths sections. The relative bits are in asterisks in the sim .ini I copied and pasted here.
NativeCAM for LinuxCNC - realtime CAM
This is reading for any installer but if you are a linuxcnc developper you should also read README-DEV
Clone or extract in a ~/sub-directory of your choice with read/write rights
Open a terminal window in the same directory
Make sure these files are executabbes : ncam.py uninstall-features (to restore the modified files after you delete the old version)
You need to install python-lxml if not allready installed, the command is : sudo apt-get install python-lxml
1. Simple usage - Stand alone mode
1.Copy then paste one of these commands :
for mill : ./ncam.py -iconfigs/sim/axis/ncam_demo/mill.ini ; ./ncam.py -iconfigs/sim/axis/ncam_demo/mill-mm.ini ;
for plasma : ./ncam.py -iconfigs/sim/axis/ncam_demo/plasma-2d.ini ; ./ncam.py -iconfigs/sim/axis/ncam_demo/plasma-2d-mm.ini ; ./ncam.py -iconfigs/sim/axis/ncam_demo/plasma.ini ; ./ncam.py -iconfigs/sim/axis/ncam_demo/plasma-mm.ini ;
However it is not meant to be usefull stand alone unless LinuxCNC was/is loaded with the right SUBROUTINE_PATH
2. Best way - Run embedded
1.Issue / copy then paste the following command
sudo python setup.py
This will create required links and modify files. You do not do this more than once except maybe after lcnc updates because it will replace the files and erase the link, until NativeCAM is integrated in the distribution To restore the system, simply issue the command : 'sudo python setup.py c'
2.Start LinuxCNC with one of these commands (copy/paste) :
for mill : (axis interface) linuxcnc configs/sim/axis/ncam_demo/mill.ini ; linuxcnc configs/sim/axis/ncam_demo/mill-mm.ini ;
(gmoccapy interface) linuxcnc configs/sim/gmoccapy/ncam_demo/mill.ini ; linuxcnc configs/sim/gmoccapy/ncam_demo/mill-mm.ini ;
for plasma : (axis interface) linuxcnc configs/sim/axis/ncam_demo/plasma-2d.ini ; linuxcnc configs/sim/axis/ncam_demo/plasma-2d-mm.ini ; linuxcnc configs/sim/axis/ncam_demo/plasma.ini ; linuxcnc configs/sim/axis/ncam_demo/plasma-mm.ini ;
(gmoccapy interface) linuxcnc configs/sim/gmoccapy/ncam_demo/plasma-2d.ini ; linuxcnc configs/sim/gmoccapy/ncam_demo/plasma-2d-mm.ini ; linuxcnc configs/sim/gmoccapy/ncam_demo/plasma.ini ; linuxcnc configs/sim/gmoccapy/ncam_demo/plasma-mm.ini ;
for lathe : (not supported yet) linuxcnc configs/sim/axis/ncam_demo/lathe.ini ;
3.Open a project in the examples directory
for mill : Basic spacer.xml ; Fun wheel demo.xml ;
for plasma : plasma test.xml ; plasma demo.xml ;
3. Tutorials
1.Use menu help->NativeCAM on YouTube
or follow this link
www.youtube.com/channel/UCjOe4VxKL86HyVrshTmiUBQ
4. Translation
1.Under development
5. Setting-up your own file
1. Read MY-SETUP.md
Please Log in to join the conversation.
- Dougefresh
- Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Please Log in to join the conversation.
- Dougefresh
- Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Please Log in to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
-
- Posts: 403
- Thank you received: 0
Attachment not found
You must edit your ini file to reflect these changes. The ini that your machine uses to load linuxcnc.
Please Log in to join the conversation.
- Dougefresh
- Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Attachment not found
Attachment not found
Please Log in to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
-
- Posts: 403
- Thank you received: 0
Send me an email and I'll respond with my number. I'll walk you through it.
Please Log in to join the conversation.
