NativeCAM is Features renamed

More
29 Dec 2016 16:17 #84857 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Thanks franstein for reporting this error. It has been corrected and pushed to github.

Regards
Fern

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

More
30 Dec 2016 03:42 #84894 by grijalvap
Replied by grijalvap on topic Plasma modifications
Hi
I did some modifications to the code in order to get it working in my plasma
I removed all Z related, in the .cfg, and .ngc files.

it works ok, however, I have some doubts about the modifications.

you can see the video in the following link

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

More
31 Dec 2016 16:42 #84968 by franstrein
Fern,

Thanks for your very quick response and fix this week!
I tested it in my simulation environment and that works correctly.

I am exploring now the options of NativeCam on my real milling machine, making some tools for my workshop.

Thanks and Happy New Year to all,
Frans

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

More
01 Jan 2017 02:24 #84992 by andypugh
Fern:
I don't know if you have noticed, but we are working on G71 and G72. This might make the Lathe stuff a lot easier

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

More
05 Jan 2017 20:51 #85303 by FernV
Replied by FernV on topic Plasma modifications


I did some modifications to the code in order to get it working in my plasma
I removed all Z related, in the .cfg, and .ngc files.

it works ok, however, I have some doubts about the modifications.


I think the most important thing is you do not have a "lead_out" subroutine. I am working on it and have a few issues to resolve before releasing it. However, when you clone the new version, NativeCAM will ask to copy the new files over the ones you edited. If you want to keep your files, you will have to select the right action in the copy dialog. You can not just rename the "plasma" sub-dir. (I may make changes in a future release to make it possible)

Fern

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

More
05 Jan 2017 20:54 #85304 by FernV
Replied by FernV on topic NativeCAM is Features renamed


... we are working on G71 and G72. This might make the Lathe stuff a lot easier


Thanks Andy. I have not started to work on Lathe stuff yet. There are still a few things to add to mill and plasma that I think would be nice improvements.

Regards
Fern

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

More
06 Jan 2017 22:35 #85365 by kjacobs
Hi Fern,
in ncam.py at around lines 3159 and 3193 (give or take a few) instead of
out.append(_("%s") % repr(i[1]))
it should rather read
out.append("_(%s)" % repr(i[1]))

otherwise xgettext and msgcat get rather confused about menu.xml and the .cfg files. I am slowly trying to find out how to incorporate translations. Not quite there yet, but at least I have a ncam.po file to work with by now.
Thanks for your great work!
Karl
The following user(s) said Thank You: FernV

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

More
07 Jan 2017 11:25 #85393 by FernV
Replied by FernV on topic NativeCAM is Features renamed

in ncam.py at around lines 3159 and 3193 (give or take a few) instead of
out.append(_("%s") % repr(i[1]))
it should rather read
out.append("_(%s)" % repr(i[1]))


Hi Karl,
This may be just the error I was looking for. Nice if you succeed and have a po file.

Since I think getting strings for translation is not needed in ncam.py, I extracted the related code and saved it in a script named 'get_tstrings.py' that can be executed in the main directory of NativeCAM. There is still more work to do like incorporating a stripped version of Feature class, etc...

I also think code to edit preferences should be in a different file callable from ncam.py. Only reading preferences is needed in ncam.py

Best regards
Fern

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

More
07 Jan 2017 19:23 - 08 Jan 2017 01:54 #85416 by FernV
Replied by FernV on topic Plasma modifications
Hi,

I just uploaded an update for plasma that includes a lead_out subroutine and many minor corrections.

To use with a plasma cutter you need a THC configured but you can test without it. In Preferences/Plasma tab is a checkbox that must be unchecked to use the configured THC.

Load the demo


The files uploaded use only X and Y axis but if for any reason you need to control a Z axis, simply remane catalogs/plasma/_menu-custom.xml to menu-custom.xml which will be loaded instead of the default menu.xml
Also it is very important that your ini file defines all 3 axis and you use core_sim.hal instead of core_sim2d.hal and simulated_home.hal instead of simulated_home2d.hal

When loading for axis interface in 2d, you will have an error message that says z is used because I think it tries to load the 'LinuxCNC' engraver ngc file. I do not know how to remove it

Happy testing
Fern
Attachments:
Last edit: 08 Jan 2017 01:54 by FernV. Reason: Add screen shot

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

More
07 Jan 2017 19:38 #85418 by FernV
Replied by FernV on topic Plasma modifications

Hi
I did some modifications to the code in order to get it working in my plasma
I removed all Z related, in the .cfg, and .ngc files.


Hi

I was wrong, you can rename ncam_demo/ncam to whatever you want to prevent copying over your edited files. Starting with the demos config will create a new ncam subdir and copy new files in it.

Fern

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

Time to create page: 0.175 seconds
Powered by Kunena Forum