WGBRCAT - command line merge utility for Gerber Files

WGBRCAT - command line merge utility for Gerber Files

WBGRCAT is a very simple utility that can be used to merge multiple Gerber (RS274X) files into a single file. There are a number of restrictions that must be adhered to.

    All files must be RS274X format

    All files must share the same data Format (units, zero suppression, absolute/incremental)

    All files must share the same set of apertures and these should be fully defined in the 274X header.


How it Works

The program works by concatenating the various files; stripping off the end-of-file command of each file except for the last one.


Command Line Syntax

wgbrcat.exe   file1  file2 ....  -o:merged_file


Where
wgbrcat.exe       the executable. If not in the current directory use a fully
                  qualified path i.e  c:\wcad\asm500\wgbrcat.exe

file1             the first file in the list to merge
                  if these are not in the current directory then use a fully
                  qualified path i.e. c:\users\design\file1.gbr

file2             the second file to merge

...               additional files to merge

-o:merged_file    the name of the output file. If no path is provided, then the
                  file will be written to the current directory. Otherwise
                  use a fully qualified path.