PCBgogo

Electronic Project Engineer's Best Partner!
M****ong
How to open Gerber files in AutoCAD with free open source tools
8341 7 Oct 16.2018, 13:54:21

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
Open your Gerber files in gerbv. This process work for multiple layers as well. You should see your Gerber to make sure it is what it should be.

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.GTL
Now convert the Postscript (.ps) file to DXF using pstoedit. This is best done on the command line.

pstoedit -f dxf foobar.ps foobar.dxf
Now 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)
Upload a photo:You can only upload 1 files in total. Each file cannot exceed 2MB.Supports JPG, JPEG, GIF, PNG, BMP
Browse
Submit
header
**

May 29.2024, 04:55:19

For a seamless betting experience, try Neds here https://neds.casinologinaustralia.com. Their platform is user-friendly, with quick registration and login. Enjoy a variety of sports betting options, competitive odds, and generous promotions. Plus, Neds offers robust security and 24/7 customer support to ensure a smooth and enjoyable experience. Perfect for both new and seasoned bettors!

Reply

Submit
header
J****nfo

May 25.2024, 23:13:40

Hello to all the readers. Recently I was travelling around Australia and I was lucky enough to find this site here - stay casino . on this site I had a lot of fun playing my favourite online slots. If you also want to play online slots, then you will succeed with this site. Goodbye, and enjoy the game.

Reply

Submit
header
J****ruz

Apr 29.2024, 16:37:05

This process work for multiple layers as well.

Lone Star Home Remodeling Pros Home Contractor

Reply

Submit
header
M****ton

Apr 11.2024, 14:36:40

This method offers a cost-effective solution for users who need to work with Gerber files in AutoCAD Tunnel Rush and prefer open source tools. Thanks for sharing!

Reply

Submit
header
B****ake

Dec 18.2023, 12:59:58

This is used to view Gerber files, and can also export to a variety of formats (but not DXF dinosaur game or DWG for AutoCAD)

Reply

Submit
header
B****man

Dec 01.2023, 15:19:22

Players can jump, shoot, and use power-ups to eliminate their opponents. Getaway shootout also features a variety of weapons, such as pistols, shotguns, and rocket launchers.

Reply

Submit
header
w****own

Nov 06.2023, 10:15:46

This board appears to be quite useful to me while I work on the geometry dash lite product. Thank you for informing the community.

Reply

Submit
Share the Project