Gerber RS-274D File Example
RS-274D uses two files to represent each layer of data. The first file is an aperture file which tells the plotter which shapes it can draw with. The second file is a list of coordinates and commands which tell the plotter how to draw the layer.
|
Aperture file
| D10 | 10H | 10V | Round | -Draw- |
| D11 | 20H | 20V | Round | -Draw- |
| D12 | 15H | 15V | Round | -Draw- |
| D13 | 5H | 5V | Round | -Draw- |
| D14 | 40H | 40V | Round | *Flash* |
| D15 | 34H | 46V | RCT | *Flash* |
| D16 | 10H | 10V | Square | -Draw- |
| D17 | 28H | 100V | RCT | *Flash* |
| D18 | 60H | 14V | RCT | *Flash* |
| D19 | 40H | 40V | Round | -Draw- |
| D20 | 14H | 60V | RCT | *Flash* |
|
|
Coordinate Data File
%LPD*%
G75*D10*G1X98750Y71250D3*
%LPC*%
G75*D11*G1X19791Y-5996D2*X19878Y-6035D1*X19957Y-6114*X19996Y-6232*
Y-6272*X19957Y-6390*X19878Y-6468*X19791Y-6500*X19720D2*X19642Y-6468D1*
X19563Y-6390*X19524Y-6272*Y-6035*X19563Y-5870*X19602Y-5799*X19681Y-5720*
X19760Y-5681*X19524Y-6232D2*X19563Y-6114D1*X114510*Y130765*X119760*
X127890D2*Y140765D1*X122640*Y130765*X127890*X136020D2*Y140765D1*X130770*
Y130765*X136020*X144150D2*Y140765D1*X138900*Y130765*X144150*X111630D2*
X106380D1*Y140765*X111630*Y130765*X6800Y102445D2*X34800D1*Y140445*
Y140695*X28800*X6800*Y140445*Y102445*X129310Y70565D2*Y98565D1*X91310*
X91060*Y92565*Y70565*X91310*X129310*X45050D2*Y98565D1*X7050*X6800*Y92565*
Y70565*X7050*X45050*X87180Y38685D2*Y66685D1*X49180*X48930*Y60685*Y38685*
X49180*X87180*X129310Y6805D2*Y34805D1*X91310*X91060*Y28805*Y6805*X91310*
X129310*X45050D2*Y34805D1*X7050*X6800*Y28805*Y6805*X7050*X45050*X0Y0D2*
M02*
|