NativeCAM is Features renamed

More
8 years 9 months ago #104363 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Hi,

this line :
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 58720396 -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui" exited with error: 1

tells that something is wrong in your f4.ini file. Edit your file and change the line to
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.ui

Fern

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

More
8 years 8 months ago #105465 by mozmck
If no one objects, I plan to make a category for NativeCAM under the CAD CAM category, and I would like to move thread such as this one over there. Perhaps it would also encourage people to create new topics instead of having them all in a million post thread!!!
The following user(s) said Thank You: Mike_Eitel, tommylight, eFalegname, FernV, licantrop, KCJ

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

More
8 years 8 months ago #105475 by tommylight
Thank you Moses,
I have looked there twice for this thread, but had to resort to searching.
Regards,
Tom.

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

More
8 years 8 months ago #106051 by vmihalca
Hi Fern,

I still have some issues with both internal and external threading and I think I've figure out the issue.
It seems to me that the thread depth is not correct as its not taking into account if the thread is internal or external.
According to the drawings you pasted above, the height of internal thread H1=0.54127*p and the height of external thread h3=0.61344*p. The formula used for automatic in the threading.ngc file is:
#<depth> = [SIN[60] * #<pitch> * 2]
Due to this, when I'm cutting an external thread M16x2, the depth calculated with the formula above is 1.73205 which is too deep. If I calculate the depth as h3=> 0.61344 * 2 = 1.22688
If you agree with my correction can you update the threading routine? I think a dropdown that would allow me to specify if the thread is internal or external should be taken into consideration when deciding the depth of cut.
Also there are a few other comments I would like to add.
--When threading a bolt, the diameter of the bolt is the Major Diameter; the depth of cut * 2 = minor diameter. This is what I understand that the automatic should calculate. So the minor diameter should be 0.61344 * pitch * 2
--When threading a nut, the inside diameter of the nut is Minor Diameter, the depth of cut * 2 = major diameter. For a nut threading, I would like to specify the inside diameter of the nut, and the major diameter should be calculated automatically.
From my understanding, the major diameter for a nut should be 0.54127 * pitch * 2
en.wikipedia.org/wiki/Screw_thread#Minor_diameter

The way that this routine would be very intuitive and useful to me would be to have some inputs like:
Thread Type: External/Internal (this could replace thread peak 1 vs -1)
ToolNumber: - For other routines, it makes sense to have a tool specified as they can have depth of cuts, feeds per rev, etc. The feed for threading is given by pitch and the depth of cut is also specified as threading param.
RPM: This is the another relevant info that could be moved from Tool change into threading routine itself.
Spindle direction M3|M4

Hopefully I understood correctly what the problem was, please let me know what you think about this.
Thanks,
Vasi

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

More
8 years 7 months ago #107130 by FernV
Replied by FernV on topic NativeCAM is Features renamed
Thanks for your comments. They will all be taken into consideration for the next update

Fern

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

More
8 years 7 months ago #107296 by vmihalca
Hi Fern,

I have encountered a nasty bug today that forced me to disable native cam for now.
My machine is with metric lead screws, set to metric. I tried to cut a 3/8" 24TPI thread, and once I've set the thread type to imperial, once I've set the TPI, the entired emc became unresponding. Restarting the PC fixed the issues until I restarted back linuxcnc, then nativecam caused it to freeze again.
Right now I've commented out the lines from the .ini file and now the linuxcnc can start but without nativecam.
I've searched for the folder where nativecam holds the current program so that I try to delete that thread that's causing issues but I could not find the folder.
Until you managed to fix the other bugs, it would help me if you could tell me how to unfreeze the native cam.

Thanks,
Vasi

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

Time to create page: 0.093 seconds
Powered by Kunena Forum