NativeCAM is Features renamed

More
08 Oct 2016 13:22 - 08 Oct 2016 14:10 #81408 by eFalegname
Thank you Fern, my distro is Linuxmint 17.3 (Rosa) Xfce-64bit. (notebook pc for cnc simulation)
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: 08 Oct 2016 14:10 by eFalegname.

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

More
08 Oct 2016 13:51 #81411 by eFalegname
Ok, I changed the path in both files and then run linuxcnc, but it does'nt work for me yet:
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
08 Oct 2016 14:35 #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
08 Oct 2016 15:42 - 08 Oct 2016 15:44 #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: 08 Oct 2016 15:44 by newbynobi.

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

More
08 Oct 2016 16:05 #81421 by FernV
Replied by FernV on topic NativeCAM is Features renamed
You must select à drill with Drill Change not Tool Change which is for end mill

Fern

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

More
08 Oct 2016 17:47 #81426 by newbynobi
Hallo Fern,

OK got it and it does work.
I am running 2.7.7 and I am not able to run the program on the sim config, I press start on gmoccapy and directly the Pause gets active, If I click on it to resume, nothing happen.

As you mentioned that you do use master, I tried with master and gmoccapy 2.1.5 and got an error,
GLADE VCP Error: With xml file ncam.ui could not create Glade_XML object.

I am pretty sure, that that happen because I run rip environment.

Norbert

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

More
08 Oct 2016 19:10 #81429 by FernV
Replied by FernV on topic NativeCAM is Features renamed
There is a safety feature in the beginning of ncam.ngc to prevent gouging your workpiece avoiding milling on all the lines that are there only to help in design.

You have to make sure that '/' button is pressed. When you do only the tool paths are shown.

You should not have to run in rip environment at this stage but to do it, instructions on how to set it up are in the README-DEV file. The reason of the error you get is because it does not find the files needed.

Regards
Fern

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

More
08 Oct 2016 19:34 #81430 by FernV
Replied by FernV on topic NativeCAM is Features renamed


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.


Thank you very much Norbert for your feedback. You know how important for NativeCAM to receive feedback now from users discovering the app.

I renamed 'Tool Change' to 'End Mill Change' because you proved that it was not intuitive enough

I wish I receive tons of feedback now before users find their way after struggling.

Regards
Fern

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

More
08 Oct 2016 21:28 #81431 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Just uploaded a new setup.py that should work with any distro

command to install
sudo python setup.py

to remove
sudo python setup.py c

I can only try with my Debian Wheezy, please try and feedback

Regards
Fern

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

More
08 Oct 2016 21:31 - 08 Oct 2016 21:32 #81432 by newbynobi
Hallo Fern,

I would recommend to stay with tool change, as a drill is also a normal tool. I use very often end mills for drilling opperations, as it allows saving tool changes.

Why not include in tool change "use as drill" and take the tool diameter as drill diameter? This would be a addition to menu item: use for roughing and finishing.

Norbert

P.S. 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.
Last edit: 08 Oct 2016 21:32 by newbynobi.

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

Time to create page: 0.115 seconds
Powered by Kunena Forum