NativeCAM is Features renamed
newbynobi wrote: I use very often end mills for drilling opperations, as it allows saving tool changes.
How are you using it then ? Are you using drilling modes G73, 81, 82 or 83 ?
One option is using a Drill Change and not activate, this will not ask for a tool change but set the feed, speed and mode but you have to use the drilling subroutines
What is your p.o.v. on this ?
newbynobi wrote: if you are in metric and you enter a user defined drill diameter, lets say 4.2 mm, it will be interpretet as inch value.
I think I can solve this
I finished loading a new system with the most recent live cd and applied all updates. I successfully loaded that python thing. I downloaded your latest release an hour or so ago and extracted it to my home dir. I found that extracting it to /mark resulted in dir structure of /NativeCAM-master/NativeCAM-master/then_all_of_your_files.
The only thing in the first NativeCAM-master directory was the subdirectory NativeCAM-master with its sub directories and files. So I renamed the directory structure, moved the files and deleted redundant subdirectory. So now my structure matches what you show in your mill.ini file /mark/ncam/then_all_of_your_files.
Not sure what significance this has but I was able to load the embedded version into axis sim.
Thought I would provide a status report of my findings.
FernV wrote: Hi Mark,
Sounds like you downloaded a zip file, isn't it ?
Next time, try to clone. In a terminal in the directory of your choice
copy this command : git clone github.com/FernV/NativeCAM.git
Updates will be much simpler
I assume that command gets pasted into a terminal window? I tried it and got the following error.
george@toshiba:~$ git clone github.com/FernV/NativeCAM.git
fatal: repository 'github.com/FernV/NativeCAM.git' does not exist
It appears the the leading "https://" before "github" was removed when I posted
You can copy the address from the green button on that github site but do not forget the
"git clone "
In fact, you can use your home directory ~/
A sub-directory NativeCAM will be created and the whole process takes seconds
To have the latest updates you change directory to NativeCAM and issue :
git pull origin master
and do it anytime
If someone knows a better command to update, please correct
I cloned the last version and try to install it, this is the error I get on Linuxmint 17.3 Xfce-64bit:
ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py Traceback (most recent call last): File "setup.py", line 54, in <module> os.symlink(os.path.join(os.getcwd(), 'ncam.py'), fn) OSError: [Errno 17] File exists
then I did:
ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py c "from ncam import NCam" removed from /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py glade-widget-class named NCam removed from /usr/share/glade3/catalogs/hal_python.xml glade-widget-class-ref name NCam removed from /usr/share/glade3/catalogs/hal_python.xml ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py "from ncam import NCam" added to /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py Traceback (most recent call last): File "setup.py", line 54, in <module> os.symlink(os.path.join(os.getcwd(), 'ncam.py'), fn) OSError: [Errno 17] File exists
and the problem persists; it's seems I'm doing something wrong, please help
ef@pl ~ $ linuxcnc /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/mill-mm.ini LINUXCNC - 2.8.0-pre1-2638-g7be62e6 Machine configuration directory is '/home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo' Machine configuration file is 'mill-mm.ini' Starting LinuxCNC... Found file(REL): ./core_sim.hal Note: Using POSIX non-realtime Found file(REL): ./sim_spindle_encoder.hal Found file(REL): ./axis_manualtoolchange.hal Found file(REL): ./simulated_home.hal note: MAXV max: 53.340 units/sec 3200.400 units/min note: LJOG max: 53.340 units/sec 3200.400 units/min note: LJOG default: 30.480 units/sec 1828.800 units/min note: jog_order='XYZ' note: jog_invert=set() Traceback (most recent call last): File "/usr/bin/gladevcp", line 45, in <module> import gladevcp.makepins File "/usr/lib/python2.7/dist-packages/gladevcp/__init__.py", line 1, in <module> from hal_pythonplugin import * File "/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py", line 1, in <module> from ncam import NCam ImportError: No module named ncam <commandline>:0: waitpid failed gladevcp gladevcp <commandline>:0: gladevcp exited without becoming ready Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 60817572 -U --catalog=mill ncam.ui" exited with error: 1 Shutting down and cleaning up LinuxCNC... task: 822 cycles, min=0.000010, max=0.009836, avg=0.001133, 0 latency excursions (> 10x expected cycle time of 0.001000s) Note: Using POSIX non-realtime LinuxCNC terminated with an error. You can find more information in the log: /home/ef/linuxcnc_debug.txt and /home/ef/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal