Problem With Threading Post Processing?
01 Dec 2018 09:25 #121675
by Skippy1
Problem With Threading Post Processing? was created by Skippy1
Guys,
Just a quick question to see if anyone else has run into this problem.
I'm having a play with an evaluation version of Dolphin Cam (Partmaster) for lathes, and tries a simple exercise to face, rough, profile, and thread a short shaft. All operations work on Partmaster when simulated. I then used the EMC post processor listed in the program, but there is an issue when the threading G code is used in Linuxcnc. The threading section runs, but instead of cutting parallel to the centreline of the shaft, the thread is cut at an angle of about 20 degrees in the general position it should be. I'm guessing a problem with the post processor, or settings I'm using in Linuxcnc, or something random.
Anyway, it's not a big issue at the moment, but if you have seen this problem before, I would appreciate your advice.
Cheers, Steve
Just a quick question to see if anyone else has run into this problem.
I'm having a play with an evaluation version of Dolphin Cam (Partmaster) for lathes, and tries a simple exercise to face, rough, profile, and thread a short shaft. All operations work on Partmaster when simulated. I then used the EMC post processor listed in the program, but there is an issue when the threading G code is used in Linuxcnc. The threading section runs, but instead of cutting parallel to the centreline of the shaft, the thread is cut at an angle of about 20 degrees in the general position it should be. I'm guessing a problem with the post processor, or settings I'm using in Linuxcnc, or something random.
Anyway, it's not a big issue at the moment, but if you have seen this problem before, I would appreciate your advice.
Cheers, Steve
Please Log in or Create an account to join the conversation.
02 Dec 2018 07:43 #121707
by Skippy1
Replied by Skippy1 on topic Problem With Threading Post Processing?
Guys,
I've had a look at the G code Partmaster generated, (at first it was a bit like reading chicken entrails to find lotto numbers), and that's the problem.
It has a series of G01 moves which position the tool at the correct start point for the thread, (and correctly incrementing the depth on each pass), but the actual thread cutting move is a G00 which goes to a point at the correct Z point, but at an incorrect X point which is outside of he diameter of the proposed thread.
I will try and contact Dolphin, and see what they think.
Cheers, Steve
I've had a look at the G code Partmaster generated, (at first it was a bit like reading chicken entrails to find lotto numbers), and that's the problem.
It has a series of G01 moves which position the tool at the correct start point for the thread, (and correctly incrementing the depth on each pass), but the actual thread cutting move is a G00 which goes to a point at the correct Z point, but at an incorrect X point which is outside of he diameter of the proposed thread.
I will try and contact Dolphin, and see what they think.
Cheers, Steve
Please Log in or Create an account to join the conversation.
03 Dec 2018 14:04 #121749
by andypugh
Really? It should at the very least be a G33!
Can you edit the postprocessor to use G76?
Replied by andypugh on topic Problem With Threading Post Processing?
It has a series of G01 moves which position the tool at the correct start point for the thread, (and correctly incrementing the depth on each pass), but the actual thread cutting move is a G00 which goes to a point at the correct Z point, but at an incorrect X point which is outside of he diameter of the proposed thread.
Really? It should at the very least be a G33!
Can you edit the postprocessor to use G76?
Please Log in or Create an account to join the conversation.
04 Dec 2018 02:56 #121797
by Skippy1
Replied by Skippy1 on topic Problem With Threading Post Processing?
I contacted Dolphin support in the UK, and they quickly provided an updated PP file to be used with LinuxCNC. Them new PP produces a G76 move. I tried the new PP this morning, and it cuts a nice thread parallel to the Z axis. However, there is something screwy going on, as just prior to the start of the threading, it appears as if the sudden change in an offset or something - it is quite weird. I'm poking through the G code, but I can't work out. what is going on. For those who can read chicken entrails, I will attach the ppr (.txt) file and G code.
Please Log in or Create an account to join the conversation.
04 Dec 2018 14:06 #121805
by andypugh
G76 does that. It isn't Dolphin's fault.
I think it is part of making every pass exactly the same, so it does an X retract, (zero length) Z retract and then X advance at the beginning of the first pass.
This is the G76 cycle:
github.com/LinuxCNC/linuxcnc/blob/7fb914...erp_convert.cc#L4700
And each threading pass looks like this:
github.com/LinuxCNC/linuxcnc/blob/7fb914...erp_convert.cc#L4654
So each pass ends at the end of the retract at finish-Z and starts with a retract. Which is what you see at the beginning of the cycle, when it is already at the start Z.
Replied by andypugh on topic Problem With Threading Post Processing?
I tried the new PP this morning, and it cuts a nice thread parallel to the Z axis. However, there is something screwy going on, as just prior to the start of the threading, it appears as if the sudden change in an offset or something
G76 does that. It isn't Dolphin's fault.
I think it is part of making every pass exactly the same, so it does an X retract, (zero length) Z retract and then X advance at the beginning of the first pass.
This is the G76 cycle:
github.com/LinuxCNC/linuxcnc/blob/7fb914...erp_convert.cc#L4700
And each threading pass looks like this:
github.com/LinuxCNC/linuxcnc/blob/7fb914...erp_convert.cc#L4654
So each pass ends at the end of the retract at finish-Z and starts with a retract. Which is what you see at the beginning of the cycle, when it is already at the start Z.
Please Log in or Create an account to join the conversation.
05 Dec 2018 02:58 #121844
by Skippy1
Replied by Skippy1 on topic Problem With Threading Post Processing?
Please Log in or Create an account to join the conversation.
15 Dec 2018 22:53 #122460
by Skippy1
Replied by Skippy1 on topic Problem With Threading Post Processing?
All good now, and making parts. Cheers, Steve.
Please Log in or Create an account to join the conversation.
11 Mar 2019 14:24 #128349
by joe
Replied by joe on topic Problem With Threading Post Processing?
It's been a couple months - did you end up buying the Dolphin and if so did it work out? I'm evaluating it now for a lathe and it looks easier than Fusion but the EMC post processor is spitting out a G17 instead of G18 and when I try to use my own custom tool the entire program just crashes (shuts down, disappears, no error message just gone.) I'm hoping that's just quirks in the evaluation version because otherwise it's a good CAM software for very little $$.
Joe.
Joe.
Please Log in or Create an account to join the conversation.
11 Mar 2019 21:55 - 11 Mar 2019 21:57 #128384
by Skippy1
Replied by Skippy1 on topic Problem With Threading Post Processing?
Hi Joe,
I already had Dolphin for lathe and mill, but was only using it for the cnc router. I got it to do the usual turning, profiling, grooving stuff, and with the revised PP, also single-point threading and rigid tapping. (Note that I mainly use CamBam for most 2.5D stuff on the router, as I really like it.) My experience was that the evaluation version of Dolphin worked the same as the licensed version, except for the expiry period, so the issue may be something else?
Attached for your information and use is the latest PP file for Linuxcnc lathe I got from Dolphin. Note that I have changed the file type from .ppr to .txt, so that I could upload it to the forum. You will need to change it back to .ppr to use it.
Cheers, Steve.
I already had Dolphin for lathe and mill, but was only using it for the cnc router. I got it to do the usual turning, profiling, grooving stuff, and with the revised PP, also single-point threading and rigid tapping. (Note that I mainly use CamBam for most 2.5D stuff on the router, as I really like it.) My experience was that the evaluation version of Dolphin worked the same as the licensed version, except for the expiry period, so the issue may be something else?
Attached for your information and use is the latest PP file for Linuxcnc lathe I got from Dolphin. Note that I have changed the file type from .ppr to .txt, so that I could upload it to the forum. You will need to change it back to .ppr to use it.
Cheers, Steve.
Last edit: 11 Mar 2019 21:57 by Skippy1.
The following user(s) said Thank You: joe
Please Log in or Create an account to join the conversation.
11 Mar 2019 22:18 #128387
by joe
Replied by joe on topic Problem With Threading Post Processing?
Thanks! The demo had a 2009 PP that was giving me some funky results. The new one from you works nicely. I think the crashing was something I was doing wrong with the new tool configuration because I managed to get a couple to work. I'm going to buy the basic version now and use it for my wood lathe.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.123 seconds