This form converts Eagle 4.0 PCB desing software output to EMC's input format.

Following editing is done:

The input is something like this:
G01*
X000000Y000000D02*
D10*
X000139Y000125D02*
X039526Y000125D01*
X039537Y000137D01*
X039537Y031649D01*

And output should be something like this:

G0
G20

X00.0000 Y00.0000 Z0.1

X00.0139 Y00.0125 Z0.1
X00.0139 Y00.0125 Z0.0
X03.9526 Y00.0125 Z0.0
X03.9537 Y00.0137 Z0.0
X03.9537 Y03.1649 Z0.0
X03.9526 Y03.1661 Z0.0
X00.0139 Y03.1661 Z0.0
Try it yourself. You can get the converter also for your own use, just download it, untar (tar xzvf eagle2emc.tar.gz) and edit to suit your taste.

G-CODE: