GerberToIPDoc.tioga
Christophe Cuenod, August 18, 1987 10:21:30 am PDT
Gerber to IP
CEDAR 7.0 — FOR INTERNAL XEROX USE ONLY
GerberToIP: From Gerber format to InterPress
Christophe Cuenod
© Copyright 1987 Xerox Corporation. All rights reserved.
Abstract: Transform a Gerber file ( Used for PCB artwork ) into an Interpress Master.
Created by: Christophe Cuenod
Maintained by: Christophe Cuenod <Cuenod.pa>
Keywords: Interpress, Gerber
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
For Internal Xerox Use Only
1. Usage
GerberToIP filename
It will transform the file filename.gerber into a file filename.ip.
The parameters of the transformation have to be in a file named filename.parameters.
2. Format of the .parameters file
This is an ascii file.
All the lines are optionals and can appear in any order.
The keywords are:
invertaxis
Exchange the x and y axis
xsymetry
Invert the sign of the x coordonates (after previous transformation). Default is no symetry.
ysymetry
Invert the sign of the y coordonates (after previous transformation). Default is no symetry.
xtranslation X
Adds X to the x coordonates (after previous transformations). X has to be an integer and the unit is the same than in the gerber file. Default is no translation.
ytranslation Y
Adds Y to the y coordonates (after previous transformations). Y has to be an integer and the unit is the same than in the gerber file. Default is no translation.
scale S
Scale the output according to S (after previous transformations). Default is 1 and produce an interpress master at scale 1 in the gerber file is specifiied in .001 inches (mills)
aperture N S type shape color
Defines the aperture number N.
N in [1..24]
type in [standard, donut, thermalrelief]
shape in [round, square, rectangle]
S1 size of the aperture in the gerber file unit (dx1 size for rectangle)
(S2 dx2 size for rectangle)
(S3 dy1 size for rectangle)
(S4 dy2 size for rectangle)
color in [gray, black, red, green, blue, cyan, magenta, yellow]
3. Examples
1st example
Scale .0003937
-- Coordonates in 1e-8 meters output at scale 1
xtranslation 1000000
-- x Translation of 1e-2 meters (to center preview output)
ytranslation 3000000
-- y Translation of 3e-2 meters (to center preview output)
aperture 5 standard square 20320 black
-- aperture 5 203.2 micrometer
aperture 6 standard square 38100 black
aperture 7 standard square 40640 black
aperture 8 standard round 68580 black
aperture 9 standard square 106680 black
aperture 10 standard round 157480 black
aperture 11 standard square 190500 black
aperture 12 standard square 218440 black
2nd example
Scale .75
-- Coordonates in mills, output at scale .75
ysymetry
ytranslation 17250
-- Change y in 17250-y
aperture 1 10 standard round red
-- 10 mills, output in red
aperture 2 standard round 100 black
aperture 10 thermalRelief square 87 black
aperture 11 donut square 87 black
aperture 21 standard rectangle 10 20 37 37 black
aperture 23 standard round 50 black
aperture 24 standard round 70 black