NativeCAM is Features renamed

More
10 years 3 weeks ago - 10 years 3 weeks ago #81459 by newbynobi

newbynobi wrote:
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


Hallo Fern,

I can not confirm that, it is still broken here.

I just pulled the newest github, merged it with my local copy and did
Code:
sudo python setup.py c sudo python setup
  • I started the my gmoccapy_NativeCAM config
  • homed all axes
  • added raw material
  • added drill change
  • selected tool 22
  • entered "select drill size" user defined 4,2

The hole is then 4,2 inch, not mm.
I checked in MDI with
Code:
(DEBUG, metric = #<_metric>)
and got
Code:
metric = 1.00000

I think the error is here (NativeCAM/configs/sim/gmoccapy/ncam_demo/ncam/scripts/ncam.ngc):
Code:
o<drillchng_001_metric> if [#<_metric> EQ 1] #<drill_diameter> = [#<drill_diameter> * 25.4] o<drillchng_001_metric> endif
Are you able to reproduce that?

Norbert
Last edit: 10 years 3 weeks ago by newbynobi. Reason: added file name of the error

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

More
10 years 3 weeks ago #81463 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Looks like you saved your current work 'before' the change to drill-change.cfg

To correct :
select Utilisites->Auto-refresh to uncheck
Select Drill Change in the treeview
Add a new Drill Change
Set your parameters to the same as the first one
Delete the old Drill Change
Press on the Build button again
It will set Auto-refresh checkbox automatically

Do not forget to save your current work or you will have to redo it again next time

Fern

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

More
10 years 3 weeks ago #81464 by FernV
Replied by FernV on topic NativeCAM is Features renamed
After you executed

sudo python setup.py c

have you also executed it without 'c' ?

If you redo both commands, I would like to see the output

Fern

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

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

here are the outputs:
Code:
emcmesa@gmoccapy:~/NativeCAM$ sudo python setup.py c [sudo] password for emcmesa: removed link from /usr/lib/pymodules/python2.7/gladevcp "from ncam import NCam" removed from /usr/share/pyshared/gladevcp/hal_pythonplugin.py removed link from /usr/share/pyshared/gladevcp "from ncam import NCam" removed from /usr/share/glade3/catalogs/hal_pythonplugin.py removed link from /usr/share/glade3/catalogs glade-widget-class named NCam removed from /usr/lib/pymodules/python2.7/gladevcp/hal_python.xml glade-widget-class-ref name NCam removed from /usr/lib/pymodules/python2.7/gladevcp/hal_python.xml glade-widget-class named NCam removed from /usr/share/pyshared/gladevcp/hal_python.xml glade-widget-class-ref name NCam removed from /usr/share/pyshared/gladevcp/hal_python.xml 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 emcmesa@gmoccapy:~/NativeCAM$
Code:
emcmesa@gmoccapy:~/NativeCAM$ sudo python setup.py created link in /usr/lib/pymodules/python2.7/gladevcp "from ncam import NCam" added to /usr/share/pyshared/gladevcp/hal_pythonplugin.py created link in /usr/share/pyshared/gladevcp "from ncam import NCam" added to /usr/share/glade3/catalogs/hal_pythonplugin.py created link in /usr/share/glade3/catalogs glade-widget-class named NCam added to /usr/lib/pymodules/python2.7/gladevcp/hal_python.xml glade-widget-class-ref named NCam added to /usr/lib/pymodules/python2.7/gladevcp/hal_python.xml glade-widget-class named NCam added to /usr/share/pyshared/gladevcp/hal_python.xml glade-widget-class-ref named NCam added to /usr/share/pyshared/gladevcp/hal_python.xml 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 emcmesa@gmoccapy:~/NativeCAM$

I followed your instructions point by point, but the behavior does not change.
It is also the same if I open a new project and add there the raw material, drill change and single drill.
If I enter user defined, it is a inch value, so I am not able to make a base bore for M5 with must be 4,2 mm.

very strange, as my ncam.ngc has changed!
and if i try now to make new project, and want to add raw material nothing happen.
I am not able to add any feature any more. If I close linuxcnc and restart it, I get my old work and are able to edit every part.

Norbert
Last edit: 10 years 3 weeks ago by newbynobi.

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81466 by eFalegname
Hi Fern,
to be sure I redid the whole procedure, now my LinuxCNC starts, but I can not maximize the window, it does not fit on the screen properly
Code:
ef@pl ~ $ cd /home/ef/linuxcnc/configs/NativeCAM/ ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py c[sudo] password for ef: "from ncam import NCam" removed from /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py removed link from /usr/lib/python2.7/dist-packages/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 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 created link in /usr/lib/python2.7/dist-packages/gladevcp glade-widget-class named NCam removed from /usr/share/glade3/catalogs/hal_python.xml ef@pl ~/linuxcnc/configs/NativeCAM $ cd 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([]) task: main loop took 0.011481 seconds NativeCAM info: inifile = /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/mill-mm.ini SYS_DIR = /home/ef/linuxcnc/configs/NativeCAM NCAM_DIR = /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam program = /usr/lib/python2.7/dist-packages/gladevcp/ncam.py real path = /home/ef/linuxcnc/configs/NativeCAM/ncam.py Created 2 files in /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/catalogs Created 49 files in /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/cfg Created 45 files in /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib Created 151 files in /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/graphics Created 3 files in /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/xml [RS274NGC]SUBROUTINE_PATH = ncam/lib/mill:ncam/lib/utilities SUBROUTINE_PATH[0] (realpath) = /home/ef/linuxcnc/configs/NativeCAM/configs/sim/axis/ncam_demo/ncam/lib/mill SUBROUTINE_PATH[1] (realpath) = /home/ef/linuxcnc/configs/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 Can not find file current_work.xml Can not find file def_template.xml <class 'Xlib.protocol.request.QueryExtension'> <class 'Xlib.protocol.request.QueryExtension'> task: main loop took 0.014469 seconds task: main loop took 0.109366 seconds task: main loop took 0.013258 seconds task: main loop took 0.011499 seconds task: main loop took 0.010251 seconds task: main loop took 0.015063 seconds

image missing http://i.imgur.com/Tpfao9B.jpg
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 - 10 years 3 weeks ago #81467 by newbynobi

to be sure I redid the whole procedure, now my LinuxCNC starts, but I can not maximize the window, it does not fit on the screen properly


Have you tried to reduce the window with in preferences of NativeCAM ?
It is well explained in the basic you tube videos.

Norbert
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.437 seconds
Powered by Kunena Forum