NativeCAM is Features renamed

More
10 years 3 weeks ago #81448 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Sorry, I did not double check

It appears the the leading "https://" before "github" was removed when I posted

You can copy the address from the green button on that github site but do not forget the
"git clone "

In fact, you can use your home directory ~/
A sub-directory NativeCAM will be created and the whole process takes seconds

To have the latest updates you change directory to NativeCAM and issue :
git pull origin master
and do it anytime

If someone knows a better command to update, please correct

Fern

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

More
10 years 3 weeks ago - 10 years 3 weeks ago #81450 by eFalegname
Hi Fern I'm very excited with your great work, thank you very much. :cheer:
I cloned the last version and try to install it, this is the error I get :sick: on Linuxmint 17.3 Xfce-64bit:
Code:
ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py Traceback (most recent call last): File "setup.py", line 54, in <module> os.symlink(os.path.join(os.getcwd(), 'ncam.py'), fn) OSError: [Errno 17] File exists

then I did:
Code:
ef@pl ~/linuxcnc/configs/NativeCAM $ sudo python setup.py c "from ncam import NCam" removed from /usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py 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 Traceback (most recent call last): File "setup.py", line 54, in <module> os.symlink(os.path.join(os.getcwd(), 'ncam.py'), fn) OSError: [Errno 17] File exists

and the problem persists; it's seems I'm doing something wrong, please help
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 #81453 by FernV
Replied by FernV on topic NativeCAM is Features renamed
I loaded a new setup.py

It seems it did not remove the link before

Try with arg 'c' first, it will give the name of the link it is trying to create

Fern

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

More
10 years 3 weeks ago #81455 by eFalegname
Hi Fern, sorry for bothering you again this is the last error I get trying to run Linuxcnc:
Code:
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([]) Traceback (most recent call last): File "/usr/bin/gladevcp", line 45, in <module> import gladevcp.makepins File "/usr/lib/python2.7/dist-packages/gladevcp/__init__.py", line 1, in <module> from hal_pythonplugin import * File "/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py", line 1, in <module> from ncam import NCam ImportError: No module named ncam <commandline>:0: waitpid failed gladevcp gladevcp <commandline>:0: gladevcp exited without becoming ready Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 60817572 -U --catalog=mill ncam.ui" exited with error: 1 Shutting down and cleaning up LinuxCNC... task: 822 cycles, min=0.000010, max=0.009836, avg=0.001133, 0 latency excursions (> 10x expected cycle time of 0.001000s) 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

Thank you

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

More
10 years 3 weeks ago #81456 by rodw
Replied by rodw on topic NativeCAM is Features renamed
Code:
File "/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py", line 1, in <module> from ncam import NCam ImportError: No module named ncam

Your problem is here. Python does not have the ncam module installed.
There is probably a setup procedure that has not been followed.

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

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

newbynobi wrote:
I use very often end mills for drilling opperations, as it allows saving tool changes.

How are you using it then ? Are you using drilling modes G73, 81, 82 or 83 ?
One option is using a Drill Change and not activate, this will not ask for a tool change but set the feed, speed and mode but you have to use the drilling subroutines


Hallo Fern,

mostly just as a normal move in Z, but sometimes also as G73 or G81.
I see you pont of view, but IMHO it is very unusual to use two types of "tool change". Isn't it possible to have only one tool change, select in "use for" between
  • Roughing and Finishing
  • Roughing
  • Finishing
  • Drilling

If the user selects Drilling, the additional menu parts gets sensitive, so he then can enter the drilling cycle and the diameter etc.
Feed and speed are the same, independently from the tool.

Norbert

P.S. I updated the gmoccapy.ini file to allow also homing all axis at once, like in the normal sim config.
Also the sim_spindle.hal.
To try, just place the file gmoccapy_NativeCAM.ini and the spindle_sim.hal in the ncam_demo folder and start the ini.
You will have the working area limits shown and homing all button will work, also the simulated spindle does react.
Last edit: 10 years 3 weeks ago by newbynobi.
The following user(s) said Thank You: FernV

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

Time to create page: 0.095 seconds
Powered by Kunena Forum