NativeCAM is Features renamed

More
24 Nov 2016 01:33 #83206 by gmouer

I want you to do this :

    Now type or copy : ./ncam.py -iconfigs/sim/axis/ncam_demo/mill.ini
    You should have a result similar to this :
    fernand@debian:~/NativeCAM$ ./ncam.py -iconfigs/sim/axis/ncam_demo/mill.ini

    NativeCAM info:
    inifile = /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/mill.ini
    SYS_DIR = /home/fernand/NativeCAM
    NCAM_DIR = /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam
    program = ./ncam.py
    real path = /home/fernand/NativeCAM/ncam.py

    Created 3 files in /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/catalogs
    Created 69 files in /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/cfg
    Created 69 files in /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib
    Created 151 files in /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/graphics
    Created 5 files in /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/xml

    [RS274NGC]SUBROUTINE_PATH = ncam/lib/mill:ncam/lib/utilities
    SUBROUTINE_PATH[0] (realpath) = /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib/mill
    SUBROUTINE_PATH[1] (realpath) = /home/fernand/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib/utilities

    Using standard menu.xml, no menu-custom.xml found

    Can not find file quick_access.lst
    Previous work not saved as current work
    No default template saved

    Regards
    Fern


Hi Fern,

Here is the next instruction you gave. It also opened a standalone NativeCAM window just like before.

bridgeport@Bridgeport:~$ cd NativeCAM
bridgeport@Bridgeport:~/NativeCAM$ ./ncam.py -iconfigs/sim/axis/ncam_demo/mill.ini
NativeCAM info:
inifile = /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/mill.ini
SYS_DIR = /home/bridgeport/NativeCAM
NCAM_DIR = /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam
program = ./ncam.py
real path = /home/bridgeport/NativeCAM/ncam.py

Created 3 files in /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/catalogs
Created 69 files in /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/cfg
Created 69 files in /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib
Created 151 files in /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/graphics
Created 5 files in /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/xml

[RS274NGC]SUBROUTINE_PATH = ncam/lib/mill:ncam/lib/utilities
SUBROUTINE_PATH[0] (realpath) = /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib/mill
SUBROUTINE_PATH[1] (realpath) = /home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib/utilities

Using standard menu.xml, no menu-custom.xml found

Can not find file quick_access.lst
Previous work not saved as current work
No default template saved


On to your next instruction which I will post shortly.

George

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

More
24 Nov 2016 01:49 #83207 by gmouer

I want you to do this :

    Now type or copy : sudo python setup.py c
    Add a c (clear) at the end
    You should have a result similar to this if you already executed it :
    fernand@debian:~/NativeCAM$ sudo python setup.py c
    [sudo] password for fernand:
    wait, processing...
    removed link to ncam.py from /usr/lib/pymodules/python2.7/gladevcp

    "from ncam import NCam" removed from /usr/share/pyshared/gladevcp/hal_pythonplugin.py

    removed link to ncam.py from /usr/share/pyshared/gladevcp

    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

    /usr/share/glade3/catalogs/hal_python.xml saved


    Regards
    Fern



This time I got different results.

bridgeport@Bridgeport:~$ cd NativeCAM
bridgeport@Bridgeport:~/NativeCAM$ sudo python setup.py c
[sudo] password for bridgeport:
wait, processing...
bridgeport@Bridgeport:~/NativeCAM$


I think I know why. I started with a fresh clone from github after uninstalling the previous. Since the new clone I have NOT run setup.py, I only did exactly what you listed. Because setup.py was not run, the files are not present to be removed. Am I correct?

I resisted the temptation to run setup.py until you confirm this for me. Things are going well so far and I don't want to mess things up.

George

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

More
24 Nov 2016 03:36 #83209 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi George

So far it looks good (except I should have setup.py print a message when nothing needed to be cleared)

Continue now with the next step : sudo python setup.py

THE RESULT OF THIS IS CRUCIAL AND IT IS WHERE A PROBLEM MIGHT BE.
By the way, what is your Linux distribution and version ?

Fern

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

More
24 Nov 2016 03:45 #83210 by gmouer
Hi Fern,
I am running Debian Wheezy, installed off the current live CD. I then updated to master and brought everything up to date. The current version of Master on my machine is 2.8.0-pre1-2761-g2b678aa.

I shutdown the shop for the night and will continue with your instructions in the morning. Your help is much appreciated.

By the way, running the sim is only for the purposes of verifying the install, I never plan on actually using the sim. I have a working hal/ini file for the bridgeport mill and that is where I intend to implement NativeCAM. I am extremely excited about the usefulness of NativeCAM on the mill for everyday tasks.

I will post results of the next steps in the morning.

Thanks again,
George (USA, South Carolina)

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

More
24 Nov 2016 22:15 #83243 by gmouer

Hi George

So far it looks good (except I should have setup.py print a message when nothing needed to be cleared)

Continue now with the next step : sudo python setup.py

THE RESULT OF THIS IS CRUCIAL AND IT IS WHERE A PROBLEM MIGHT BE.
By the way, what is your Linux distribution and version ?

Fern


Here are the results, seem to agree with your posting

bridgeport@Bridgeport:~$ cd NativeCAM
bridgeport@Bridgeport:~/NativeCAM$ sudo python setup.py
[sudo] password for bridgeport:
wait, processing...
created link to ncam.py in /usr/lib/pymodules/python2.7/gladevcp

"from ncam import NCam" added to /usr/share/pyshared/gladevcp/hal_pythonplugin.py

created link to ncam.py in /usr/share/pyshared/gladevcp

glade-widget-class named NCam added to /usr/share/glade3/catalogs/hal_python.xml

glade-widget-class-ref named NCam added to /usr/share/glade3/catalogs/hal_python.xml

/usr/share/glade3/catalogs/hal_python.xml saved
bridgeport@Bridgeport:~/NativeCAM$


On to the next step in your list, post to follow soon.
George

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

More
24 Nov 2016 22:39 #83245 by gmouer
Hi Fern,

Well, the next step of your instructions resulted in a error yet success also.

Here is the terminal window

bridgeport@Bridgeport:~/NativeCAM$
bridgeport@Bridgeport:~/NativeCAM$ linuxcnc configs/sim/axis/ncam_demo/mill.ini
LINUXCNC - 2.8.0-pre1-2761-g2b678aa
Machine configuration directory is '/home/bridgeport/NativeCAM/configs/sim/axis/ncam_demo'
Machine configuration file is 'mill.ini'
Starting LinuxCNC...
Found file(REL): ./core_sim.hal
./core_sim.hal:28: Pin 'axis.0.motor-pos-cmd' does not exist
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:
/home/bridgeport/linuxcnc_debug.txt
and
/home/bridgeport/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
bridgeport@Bridgeport:~/NativeCAM$




BUT WAIT ! for fun, I tried launching linuxcnc from the gui using the launcher and picking the demo config. IT LAUNCHED !
I am attaching 2 screenshots, one of the launcher window showing the config I used and the other of the axis window with NativeCAM as it launched without error.

TIme now to wait for your comments. It appears to me that NativeCAM did not find the config in the place designated by your command line instruction.
Attachments:

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

More
25 Nov 2016 00:26 #83246 by grijalvap
Replied by grijalvap on topic Lead in set up
hi
i have installed the new version of nCAM and it run properly, i'm using the plasma setup, however when i crete any shape i do not see any lead in it

here are the screens

is anything mising on the set up?


Thanks..
Attachments:

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

More
25 Nov 2016 01:25 #83247 by FernV
Replied by FernV on topic NativeCAM is Features renamed
To George,

It is strange that you have ncam_demo in your launcher ??? I think it had to be putted there in your lcnc distribution which is a pre-release as : 'LINUXCNC - 2.8.0-pre1-2761-g2b678aa' and I believe that is why you have the
'./core_sim.hal:28: Pin 'axis.0.motor-pos-cmd' does not exist' error.
In a terminal type : 'locate ncam.py' to see if there are other copies on your pc

Anyway, you can now familiarize yourself by loading examples and test them.

Do not forget that you have to select the right order
  1. Workpiece
  2. Tool change
  3. Tasks for the selected tool

Fern

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

More
25 Nov 2016 01:27 - 25 Nov 2016 01:29 #83248 by FernV
Replied by FernV on topic Lead in set up

i'm using the plasma setup, however when i crete any shape i do not see any lead in it
is anything mising on the set up?


In 'Cutting params', you have to select a 'cut width' which is defined as a tool

Fern
Last edit: 25 Nov 2016 01:29 by FernV.

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

More
25 Nov 2016 01:45 - 25 Nov 2016 01:57 #83250 by gmouer

To George,

It is strange that you have ncam_demo in your launcher ??? I think it had to be putted there in your lcnc distribution which is a pre-release as : 'LINUXCNC - 2.8.0-pre1-2761-g2b678aa' and I believe that is why you have the
'./core_sim.hal:28: Pin 'axis.0.motor-pos-cmd' does not exist' error.
In a terminal type : 'locate ncam.py' to see if there are other copies on your pc

Anyway, you can now familiarize yourself by loading examples and test them.

Do not forget that you have to select the right order
  1. Workpiece





  2. Tool change
  3. Tasks for the selected tool

Fern


Hi and Thanks Fern !

Here is the results of that locate

bridgeport@Bridgeport:~$ locate ncam.py
/home/bridgeport/.local/share/Trash/files/NativeCAM/ncam.py
/home/bridgeport/.local/share/Trash/files/NativeCAM.2/ncam.py
/home/bridgeport/.local/share/Trash/files/NativeCAM.3/NativeCAM/ncam.py
/home/bridgeport/.local/share/Trash/files/NativeCam/NativeCAM/ncam.py
/home/bridgeport/.local/share/Trash/files/ncam/ncam.py
/home/bridgeport/.local/share/Trash/files/ncam.2/ncam.py
/home/bridgeport/NativeCAM/ncam.py
/usr/lib/pymodules/python2.7/gladevcp/ncam.py
/usr/share/pyshared/gladevcp/ncam.py
bridgeport@Bridgeport:~$[/b

Whats up with ncam not working with the terminal command you gave me?
Last edit: 25 Nov 2016 01:57 by gmouer.

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

Time to create page: 0.217 seconds
Powered by Kunena Forum