Here is a method for how you can import a Gerber RS-274X file into AutoCAD. There are many commercial software solutions to perform this, but this is how you can do it for free using open source tools!
You'll need to install and configure (if needed) the following software.
- gerbv – this is used to view Gerber files, and can also export to a variety of formats (but not DXF or DWG for AutoCAD)
- pstoedit – converts Postscript files to many different other formats
- ghostscript – needed by pstoedit
Export the Gerber set to PostScript. File -> Export -> Postscript…
Optionally, if you don’t need to visually check the Gerber file in gerbv, gerbv supports exporting via the command line, for example:
gerbv -x ps MYGERBER.GTLNow convert the Postscript (.ps) file to DXF using pstoedit. This is best done on the command line.
pstoedit -f dxf foobar.ps foobar.dxfNow you should have a .dxf file which you can open in AutoCAD.
Caveats
When working with multiple Gerber files and you export them all at once to one .ps file, and convert them to a single .dxf, all the information comes up in AutoCAD as a single layer, but the original layers can be differentiated by their colours.
However you could manually move different colours to new layers if need be (using QSELECT command in AutoCAD). This probably could be scripted, but that’s a bit beyond my means at the moment.
- Comments(7)
**
May 29.2024, 04:55:19
J****nfo
May 25.2024, 23:13:40
J****ruz
Apr 29.2024, 16:37:05
This process work for multiple layers as well.
M****ton
Apr 11.2024, 14:36:40
B****ake
Dec 18.2023, 12:59:58
B****man
Dec 01.2023, 15:19:22
w****own
Nov 06.2023, 10:15:46