Have one to share?
I'm working on a code generator (in python) and finding it difficult to get a smooth loop in from center. A short example using a 1/2" EM with a target bore of 0.9" and a 0.1" stepover.
From cam program
Code:
%
G00 X0.0125 Y0
Z.1
G01 Z-.1 F20
G03 X-.0625 R.0375
X.1125 R.0875
X-.1625 R.1375
x.1094 Y-.1674 R.1875
X.2 Y0 R.2
X-.2 R.2
X.1094 Y-.1674 R.2
G00 z2
%
Using my generator
Code:
%
G00 X 0.0000 Y 0.0000 Z.1
G01 Z -0.1000 F3
G01 X 0.0250 F50
G03 X 0.0000 Y 0.0250 R 0.0250
X -0.0500 Y 0.0000 R 0.0312
X 0.0000 Y -0.0750 R 0.0563
X 0.1000 Y 0.0000 R 0.0813
X 0.0000 Y 0.1250 R 0.1063
X -0.1500 Y 0.0000 R 0.1313
X 0.0000 Y -0.1750 R 0.1562
X 0.2000 Y 0.0000 R 0.1813
X 0.0000 Y 0.2000 R 0.2000
X -0.2000 Y 0.0000 R 0.2000
X 0.0000 Y -0.2000 R 0.2000
X 0.2000 Y 0.0000 R 0.2000
X 0.0000 Y 0.2000 R 0.2000
G00 Z2
%
The cam generated code blends the arcs, no awkward jogs.