NativeCAM is Features renamed

More
08 Oct 2016 21:41 #81434 by FernV
Replied by FernV on topic NativeCAM is Features renamed

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 ?

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

Fern
The following user(s) said Thank You: newbynobi

Please Log in or Create an account to join the conversation.

More
08 Oct 2016 21:58 #81436 by FernV
Replied by FernV on topic NativeCAM is Features renamed

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.


Corrected and on github

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 02:02 #81442 by kramdradoow
Thanks for the new release Fern.

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.

Mark

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 03:15 #81443 by FernV
Replied by FernV on topic NativeCAM is Features renamed
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

Fern

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 03:18 #81444 by gmouer

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

Fern


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
george@toshiba:~$

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 09:00 #81447 by dinkata
FernV
Congratulations on a good job !
It will be good to have a lathe .

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 09:28 #81448 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Sorry, I did not double check

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

Fern

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 09:47 - 09 Oct 2016 09:52 #81450 by eFalegname
Hi Fern I'm very excited with your great work, thank you very much. :cheer:
I cloned the last version and try to install it, this is the error I get :sick: 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
Last edit: 09 Oct 2016 09:52 by eFalegname.

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 10:18 #81453 by FernV
Replied by FernV on topic NativeCAM is Features renamed
I loaded a new setup.py

It seems it did not remove the link before

Try with arg 'c' first, it will give the name of the link it is trying to create

Fern

Please Log in or Create an account to join the conversation.

More
09 Oct 2016 11:07 #81455 by eFalegname
Hi Fern, sorry for bothering you again this is the last error I get trying to run Linuxcnc:
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

Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.203 seconds
Powered by Kunena Forum