NativeCAM is Features renamed

More
30 Jun 2017 18:19 #95233 by Clive S

First, open a terminal where your inifile is and type this command :
$ ncam -h
it will give you indications on what to do next, but do this then
$ ncam -i inifilename -c catalogname
catalogname is one of those : mill, plasma or lathe
if mill (default) you do not need -c and parameter
close ncam and start linuxcnc
$ linuxcnc inifilename
close linuxcnc
save the content of the terminal and post here

I will then be able to tell you what to do
Fern


here is terminal window:-
clive@debian:~/linuxcnc/configs/baz_test$ ncam -i baz_test.ini

NativeCAM info:
inifile = /home/clive/linuxcnc/configs/baz_test/baz_test.ini
NCAM_DIR = /home/clive/linuxcnc/configs/baz_test/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py


[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
Real paths:
/home/clive/linuxcnc/configs/baz_test/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities

Using default mill/menu.xml, no mill/menu-custom.xml found

/usr/bin/ncam:2275: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
clive@debian:~/linuxcnc/configs/baz_test$ linuxcnc baz_test.ini
LINUXCNC - 2.7.9
Machine configuration directory is '/home/clive/linuxcnc/configs/baz_test'
Machine configuration file is 'baz_test.ini'
Starting LinuxCNC...
.
Found file(REL): ./baz_test.hal
Found file(REL): ./custom.hal
Shutting down and cleaning up LinuxCNC...
task: 998 cycles, min=0.000023, max=0.022279, avg=0.009937, 0 latency excursions (> 10x expected cycle time of 0.010000s)
clive@debian:~/linuxcnc/configs/baz_test$ ^C
clive@debian:~/linuxcnc/configs/baz_test$

Plus a screen shot file:///home/clive/Pictures/Screenshot%20-%20300617%20-%2019:05:15.png

Thanks
Attachments:

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

More
30 Jun 2017 18:44 #95234 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Delete /home/clive/linuxcnc/configs/baz_test/ncam completely

restart $ ncam -i /home/clive/linuxcnc/configs/baz_test/baz_test.ini
close ncam
restart $ linuxcnc /home/clive/linuxcnc/configs/baz_test/baz_test.ini

Fern
The following user(s) said Thank You: Clive S

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

More
30 Jun 2017 18:53 #95238 by FernV
Replied by FernV on topic NativeCAM is Features renamed

Fern, maybe I have to delete my old modified files and reinstall NativeCAM...

I do not think so but I see a newline is missing after the postamble (% must be on a line by itself),
I will correct this for sure but meanwhile you only have to do this :

Add a new line after G28 in the postamble just like you added one before it

Fern

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

More
30 Jun 2017 19:14 #95240 by Clive S

Delete /home/clive/linuxcnc/configs/baz_test/ncam completely

restart $ ncam -i /home/clive/linuxcnc/configs/baz_test/baz_test.ini
close ncam
restart $ linuxcnc /home/clive/linuxcnc/configs/baz_test/baz_test.ini

Fern

Fern Perfect worked first time thank you. Just have to try and get the launcher working on the desktop now I am using the command :- ncam -i linuxcnc /home/clive/linuxcnc/configs/baz_test/baz_test.ini but that does not work but from a terminal in the baz_test directory it runs ok with ncam -i baz_test.ini not sure where I am going wrong.

Many thanks

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

More
30 Jun 2017 19:23 #95241 by FernV
Replied by FernV on topic NativeCAM is Features renamed

...Axis doesn't display very good the quotes around the 0.1 of mm but the dynamic compensation works like a charm

I was wondering if we should use wear instead of tool diameter, like 0.1 mm of wear, what do you think ?

Fern

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

More
30 Jun 2017 19:30 #95242 by FernV
Replied by FernV on topic NativeCAM is Features renamed

...Just have to try and get the launcher working on the desktop now I am using the command :- ncam -i linuxcnc /home/clive/linuxcnc/configs/baz_test/baz_test.ini but that does not work but from a terminal in the baz_test directory it runs ok with ncam -i baz_test.ini not sure where I am going wrong.

You can not start NativeCAM with linuxcnc as a parameter, nor linuxcnc with ncam as a parameter

It really has to be what it tells you (and nothiing else) when you enter $ ncam -h

Fern

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

More
30 Jun 2017 19:39 - 30 Jun 2017 19:57 #95243 by eFalegname

I was wondering if we should use wear instead of tool diameter, like 0.1 mm of wear, what do you think ?

Fern


Imho in the way you did it is perfect as dynamic compensation and does not cause any confusion because it reproduces the G41.1 Dnumber gcode format (and no calculations to do) , instead wear is usually written on the tool table under the "Diameter Column" with the negative sign like -0.1 if I remember correctly.

Floris
Last edit: 30 Jun 2017 19:57 by eFalegname.
The following user(s) said Thank You: FernV

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

More
30 Jun 2017 19:47 #95244 by eFalegname

I do not think so but I see a newline is missing after the postamble (% must be on a line by itself),
I will correct this for sure but meanwhile you only have to do this :

Add a new line after G28 in the postamble just like you added one before it

Fern


Adding a line in the preferences menu after G28 doesn't work I don't know why, anyway it's ok, it's not a problem, now I can modify ncam.py :laugh: :laugh: :laugh:

:cheer: I thank you again!!!

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

More
30 Jun 2017 20:26 - 30 Jun 2017 20:29 #95247 by eFalegname

I was wondering if we should use wear instead of tool diameter, like 0.1 mm of wear, what do you think ?

Fern


Imho in the way you did it is perfect as dynamic compensation and does not cause any confusion because it reproduces the G41.1 Dnumber gcode format (and no calculations to do) , instead wear is usually written on the tool table under the "Diameter Column" with the negative sign like -0.1 if I remember correctly.

Floris


Thinking about it is not a bad idea, it would make things easier for someone who is not very familiar with the Gcode and linuxcnc, from that point of view it will work as a kind of tolerance too...
Last edit: 30 Jun 2017 20:29 by eFalegname.

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

More
01 Jul 2017 10:05 - 01 Jul 2017 10:06 #95263 by Clive S

...Just have to try and get the launcher working on the desktop now I am using the command :- ncam -i linuxcnc /home/clive/linuxcnc/configs/baz_test/baz_test.ini but that does not work but from a terminal in the baz_test directory it runs ok with ncam -i baz_test.ini not sure where I am going wrong.

You can not start NativeCAM with linuxcnc as a parameter, nor linuxcnc with ncam as a parameter

It really has to be what it tells you (and nothiing else) when you enter $ ncam -h

Fern

Fern Not sure what I was doing wrong but having slept on it I deleted the shortcut and started afresh with a new launcher and hey presto it worked first time. I thank you for all the patience you have given me and the work you continually put in.
Last edit: 01 Jul 2017 10:06 by Clive S.

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

Time to create page: 0.125 seconds
Powered by Kunena Forum