PCBgogo

Electronic Project Engineer's Best Partner!
M****ong
How to open Gerber files in AutoCAD with free open source tools
9372 17 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(17)
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
**

Sep 24.2024, 19:31:48

Such a tragic loss for the Liefers family. Losing a child is something no family should have to go through. My thoughts and prayers are with them in their time of mourning. jan josef liefers sohn ertrunken

Reply

Submit
header
R****one

Sep 24.2024, 13:07:19

Magnus Credit really stands out with their personalized service. They made the loan process easy to understand, and I appreciated their friendly approach. Highly recommend! licensed money lender ubi

Reply

Submit
header
R****one

Sep 24.2024, 12:33:22

I can't believe how easy it was to find a licensed moneylender through this directory! The loan process was quick and straightforward, and I got the money I needed without any stress. list of licensed money lender in Singapore

Reply

Submit
header
R****one

Sep 24.2024, 00:50:46

For a quick and easy payday loan, Swift Credit is the best option. Fast approval and reliable service! highly rated payday loan Singapore

Reply

Submit
header
R****one

Sep 23.2024, 22:45:06

Looking for a foreigner loan? Swift Credit offers instant approval and fast cash in Singapore! foreigner loan Singapore

Reply

Submit
header
**

Sep 23.2024, 22:41:16

I found Power Credit to be very reliable! They provided me with an efficient solution for my financial needs, and the entire process was straightforward and hassle-free. licensed money lender Tanjong Pagar

Reply

Submit
header
**

Sep 23.2024, 21:42:54

If you're in a financial bind, this directory is your best friend! I found a licensed moneylender who offered a low-interest loan and quick approval. Highly recommend for urgent needs! Licensed money lender directory Singapore

Reply

Submit
header
R****one

Sep 23.2024, 20:59:05

Swift Credit is a top-notch lender, offering fast loans to both Singapore residents and PRs! best licensed money lender in Singapore

Reply

Submit
header
R****one

Sep 23.2024, 19:51:29

If you're facing unexpected costs, payday loans offer a fast and easy way to get the cash you need! highly rated payday loan Singapore

Reply

Submit
header
R****one

Sep 23.2024, 18:17:38

I had a smooth experience with Elite Investment & Credit. Call +65 6970 7161 for more information! foreigner loan Singapore

Reply

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