Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G71 introduces a circle when using the D parameter (remaining distance to stock) #2939

Open
sundtek opened this issue Mar 15, 2024 · 2 comments

Comments

@sundtek
Copy link
Contributor

sundtek commented Mar 15, 2024

In Lathe mode G71 introduces a half circle when using the D parameter, it disappears when not using the D parameter.
I'm using the latest linuxcnc git version (15. March 2024)

G17 G54 G40 G80 G90
G21
G54
G97
G61
g18 g64 g8
G1 F140
S700
M3
G4 P1
G0 Z14.4
#<_startX>=14.3
#<_startZ>=12.5
o100 sub
G1 X#<_startX> Z#<_startZ>
G1 X0.01
G1 Z0 X14.325
G1 X15
o100 endsub
G71 Q100 X#<_startX> Z#<_startZ> D0.25 I0.2 R1
M2

that half circle is not correct.

w0lfzG

@andypugh
Copy link
Collaborator

Is D meant to be a "stock to leave" number? The docs for G71 are terrible, which annoys me as I wrote much better ones for a different implementation of the cycles.

Does it always fail? Or is is sometimes usable?

@sundtek
Copy link
Contributor Author

sundtek commented Apr 26, 2024

I only tested it once and put the result here for the record until someone (or I) have more time to fix it.
D should be stock to leave yes.
Once the stock to leave is removed it's okay - the entire circle should not be there when stock to leave is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants