[LinuxCNC/linuxcnc Issue#222] Multi-turn arcs incorrectly being converted to straight feeds

未分类 bolang 4个月前 (10-15) 25次浏览

Issue #222 | 状态: 进行中 | 作者: robEllenberg | 创建时间: 2017-01-09

标签: affects 2.7 affects master affects 2.8 canon


Here are the steps I follow to reproduce the issue:

Run the following G code snippet in a mill simulation config:

G20 G90 G17
G64 P0.005 Q0.001
G0 X 0.0650 Y 0.0000
G0 Z 0.2000
G1 Z 0.0000 F10.0
F 3.42 (Arc Feed, inches/minute)
G3 X 0.0643 Y 0.0095 Z -0.2000 P 15.0000 I -0.0650 J 0.0000
`

This is what I expected to happen:

15-turn helical bore down to Z-0.2

This is what happened instead:

Straight plunge to Z-0.2

It worked properly before this:

Fails on 2.7.x versions (definitely 2.7.8, likely older versions as well).

Diagnosis

This plunge behavior disappears if the naive cam tolerance is set to zero:
`
G64 P0.005 Q0.0

This bug is due to the Naive CAM Detection routine in ARCFEED in emccanon.cc. NCD checks if the

#1 – robEllenberg 于 2017-01-09

I have a fix in progress in this branch in my fork. I haven’t tested it much yet, but so far it works for some simple test cases.


#2 – andypugh 于 2020-06-13

Is this ready for merge to LinuxCNC?


#3 – robEllenberg 于 2020-06-13

I’ll need to take another look at this. It worked well under simple conditions, but I ran into some weirdness with tool compensation. It’s not a show-stopper as it is, provided users are cautious with NCD.


#4 – andypugh 于 2020-07-30

Revert docs note ff1a36631 when this is fixed.


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/222

喜欢 (0)