Electronic – Is it possible to modify a Gerber silkscreen before production


Basically, I'm building a electronics project, where Gerbers are supplied for me to fabricate at a PCB house. However, I want to add my own logo and a few personal touches to the silkscreen before printing.

(BTW, the license for the design allows people to modify it for personal use)

Is it possible to remove or add elements to the silkscreen without the use of expensive Gerber software (which I can't afford)? Also, I've heard that Gerber files are ASCII human readable and small edits can be done directly on a text editor. Is that really doable?

Best Answer

The correct way to modify Gerber files is normally go back to the original CAD files that generated the Gerber files in the first place. Then use that software to modify the design to your requirements and re-generate the outputs. This process does require that you also have access to both the original CAD data files and the use of the CAD program itself.

If the originator did not release the original CAD files this may have been done for proprietary reasons.

So there are a number of other possibilities for you to directly modify the Gerber files. Keep in mind that these procedures are highly discouraged because of the confusion that can occur in environments where both the CAD files in various versions coexist with the Gerber files.

One method is to use a Gerber Editor tool. These are tools that can take in the existing Gerber file data and allow small changes to be made to the gerber design. Typically these tools are extensions of the various free Gerber Viewer tools that you can download off the web (such as ViewMate and GC-Prevu). Unfortunately as you have already found these upgraded tool versions are not free.

The other method is to directly edit the Gerber data files. If you open the Gerber file, for example the SilkScreen layer, in a text editor you will notice that it is a regular text file with a format that you can quickly deduce by inspection. You can add additional lines to this file to make more draw, flash and move commands. If you do this it is very important to make sure to follow the proper syntax and to use one of the free viewers to review the work that you do.

I would discourage this direct edit technique though and propose another approach instead. First study the existing Gerber file format with a viewer. Note the coordinate system origin and figure out an area of coordinates within which you want to add your additional details. Then download and install one of the free PCB layout CAD software packages that are able to produce Gerber output. Two examples of CAD programs that can do this are DesignSpark and Eagle. Then use the program that you select to design the items (logo, texts and lines) that you wish to add. Add them the in the add-on CAD layout at coordinates that match to what you learned from the study of the original Gerber files. Once they are designed, use the free CAD program to plot out Gerber data for the layer(s) that contain the data that you wish to add. Now using a text editor open both this interim add-on Gerber and the original Gerber file. Block copy the new data and paste it on at the end of the original Gerber file. Make sure that the data formats are exactly the same and if not go adjust the plot settings in the free CAD package and replot the add-on Gerber data. Once again test the results of your work with one of the free Gerber viewer tools.

Related Topic