Is it possible to use R instead of IJ for arcs? I wrote a script that rotates a part in mach using G68. Problem is that IJ arcs and G68 don’t work together. They say that R works.

Thanks

Is it possible to use R instead of IJ for arcs? I wrote a script that rotates a part in mach using G68. Problem is that IJ arcs and G68 don’t work together. They say that R works.

Thanks

R has accuracy problems at some angles but if you want to try it, edit the post and look for function OnArc()

Replace this:

```
post.Text (" I")
post.Number ((arcCentreX - currentX) * scale, "0.0000")
post.Text (" J")
post.Number ((arcCentreY - currentY) * scale, "0.0000")
```

with this:

```
post.Text (" R")
post.Number (math.hypot(arcCentreX - currentX, arcCentreY - currentY) * scale, "0.0000")
```