Importing Gerber Artwork

LC has a simple translator which is able to read a restricted type of Gerber-format artwork file. The X-Y coordinate data in the artwork file is assumed to be in 2.4 format, meaning the coordinates are specified as a six digit field, and there is an implied decimal point after the second digit. Leading zeros may be suppressed, so 020000 and 20000 both denote the value of 2.0.

Values are assumed to be in units of mils, or thousandths of an inch, and are converted into the units set in the Define Model Parameters dialog. The default units within LC are millimeters.

Be sure to read the section on the Import Gerber Artwork dialog from the LC User's Guide.

An Example Artwork File

G01*
D13*
X35670Y33670D02*
X43470D01*
X35670D02*
Y45470D01*
X30000Y30000D01*
D02*
M02*

Aperture File Format

The aperture file is a simple text file, formatted as a table with one line for each aperture referenced by the artwork file. It is a cross-reference between the D-code given in the artwork file and the dimensions of the aperture used to draw the artwork.

The allowed line formats are:

CIRCLE

diameter

 

D-code

LINE

length

 

D-code

SQUARE

x-y size

 

D-code

RECTANGLE

x size

y size

D-code

OBLONG

x size

y size

D-code

All dimensions are assumed to be given in mils, or thousandths of an inch.

An Example Aperture File

CIRCLE        7.333       D11
CIRCLE        9.842       D12
CIRCLE        39.370      D13

Sample Files


LC Home
Copyright © Cray Inc.
Maintained by Kevin Thomas (kjt@cray.com).
Last modified Fri Nov 12 09:00:14 CST 1999