How to Fix PCBE Gerbers for JLCPCB
PCBE is a PCB editor by T.Takatoya and is free to use.
CAM tool used at JLCPCB can’t parse the Gerbers from PCBE directly, it throws out some error messages. Mostly it’s because the CAM tool can’t parse the 2nd long line correctly.
Fix the File
Gerber files are nothing else but some human-readable plain text files. So we can fix the problem with a text editor.
Open a layer with Notepad or your preferred text editor:
Break the 2nd long line into separate lines, like this:
G71*G90*G75*D02* %ASAXBY* OFA0B0* MOMM* FSLAX43Y43* IPPOS*%
Now add some % signs to make these lines as valid Gerber lines:
G71*G90*G75*D02* %ASAXBY*% %OFA0B0*% %MOMM*% %FSLAX43Y43*% %IPPOS*%
|If the top 2 lines in your files are exactly the same with the 2 lines in this article, you can just copy them.|
Now replace the top 2 lines with the new lines and save the file. Continue to replace these 2 lines for every file.