NativeCAM is Features renamed

More
10 years 3 weeks ago #81403 by eFalegname
path for linuxmint :
Code:
ef@pl ~ $ locate hal_pythonplugin.py /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.pyc

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81406 by FernV
Replied by FernV on topic NativeCAM is Features renamed
You can change the path in 'ncam_setup2.py' to reflect the difference in your system

change the line that says :
fname = '/usr/share/pyshared/gladevcp/hal_pythonplugin.py'
to
fname = '/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py'

also try to : locate hal_gremlin.py
it should give you the directory that you must change in ncam_setup

Please tell me what is your linux distro
Fern
Last edit: 10 years 3 weeks ago by FernV.

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81408 by eFalegname
Thank you Fern, my distro is Linuxmint 17.3 (Rosa) Xfce-64bit. (notebook pc for cnc simulation)
Code:
ef@pl ~ $ locate hal_gremlin.py /usr/lib/python2.7/dist-packages/gladevcp/hal_gremlin.py /usr/lib/python2.7/dist-packages/gladevcp/hal_gremlin.pyc
Last edit: 10 years 3 weeks ago by eFalegname.

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

More
10 years 3 weeks ago #81411 by eFalegname
Ok, I changed the path in both files and then run linuxcnc, but it does'nt work for me yet:
Code:
ef@pl ~/linuxcnc/configs/NativeCAM $ linuxcnc 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 ./core_sim.hal:28: Pin 'axis.0.motor-pos-cmd' does not exist Shutting down and cleaning up LinuxCNC... 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

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

More
10 years 3 weeks ago #81413 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Some changes are coming in new version of LinuxCNC and it updates some files. I am using the development version

Replace the mentioned file(s) with one(s) from your system
the one indicated is core_sim.hal in the same directory :
'/home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo'

Do it with every files it says so.
If it still does not work, you may have to replace mill-mm.ini BUT if so, you need the required items specified in the beginning of the one included

Once you have it running and you load 'Basic spacer.xml', you will have to select GCode in the master treeview and in the detail treeview enter metric value instead of the imperial one, it does not convert the personnalized values. The 'fun wheel demo.xml' will be OK
Also you will see many 'french' names which have been translated by gettext even if I do not have translation ready yet. It is done from the system internationnalization. I will correct this to save the original english terms. However, if you want to know what it means, add the same subroutine at the end, it will have the english terms

I started a project that will resolve installation problems

Regards
Fern

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81418 by newbynobi
Hallo Fern,

I am testing a little bit with gmoccapy and I found:

configs/gmoccapy/mill.ini and mill_mm.ini
[TRAJ]
DEFAULT_LINEAR_VELOCITY=
MAX_LINEAR_VELOCITY =

must be:
[TRAJ]
DEFAULT_VELOCITY=
MAX_VELOCITY =

to avoid that strange long numbers in the Info display.TRAJ does also miss NO_FORCE_HOMING, that way you will be able to change to AUTO mode avoiding the error messages. I do not know, why it is not possible to home in your sim config.

Next I tried to use NativeCam to make a part:
I made my Raw Material 150 x 22 x 10
I changed tool to center drill (Tool 20)
I add Drill Single

Got an ncam.ngc error : parameter #<drill_diameter> not defined

Similar on SHCS Slot! Also parameter not found, if you do not change tool before.

What do I wrong?
All done in your sim configs.

Norbert

P.S. Very nice work
Last edit: 10 years 3 weeks ago by newbynobi.

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

Time to create page: 0.112 seconds
Powered by Kunena Forum