Gerber exporter options
Bug #699454 reported by
Ineiev
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA project |
New
|
Wishlist
|
Unassigned | ||
pcb |
New
|
Medium
|
Unassigned |
Bug Description
Yesterday I talked to a man who made PCBs
at one of my workplaces. He told me all
their devices were metric. Also he required
outline in every layer. So I took the patch
from feature request 1663208, cleaned it up
and added some more flexibility.
In result, additional gerber exporter options are:
(1) metric output (separately in Gerbers and Excellons)
(2) 3.3 or 4.2 precision in metric Excellon output,
0..6 (separately for X and Y axes) in Gerber
(3) decimal point in Excellon output
(4) outline in every Gerber (if `outline' layer is present)
(5) disable drills output in outline layers
tags: | added: gerber-export |
Changed in geda-project: | |
importance: | Undecided → Wishlist |
Changed in pcb: | |
milestone: | pcb-4.2.0 → future-feature-release |
To post a comment you must log in.
A mainstream bug misfixed (sometimes
fab layer lacks an aperture)
--outline-gerbers made work when `outline'
layer is absent
Item that didn't work has been removed:
(5) disable drills output in outline layers
Some tests added:
HOW TO TEST tests/gerber. features/ test.pcb) tests/gerber. features
(copy your favourite board to ineiev-
(1) check that default output is comparable with the unpatched
version:
(build unpatched and patched versions of PCB);
cd ineiev-
gcc -Wall -o cmpgbr cmpgbr.c
mkdir m n
${old_good_pcb} -x gerber -o m/b test.pcb
${misfeatured_pcb} -x gerber -o n/b test.pcb
./cmpgerber m n;rm -r m n
the script will show if there is any significant
difference
(2) check that different options are comparable with the default: outline- gerbers \ metric- gerbers \ gerber- x-precision 5 \ gerber- y-precision 3 \ metric- drills \ 4.2-metric- drills \ decimal- in-drills \ tests/gerber. features; ./cmpoptions
output a pcb gerber with different format options
(pcb -x gerber \
--gerberfile out \
--
--
--
--
--
--
--
test.pcb
);
check with several Gerber viewers if all is OK
(load respective layers exported with different options
and see no significant difference (well, --outline-gerbers
should change the picture evidently)), e.g.
cd ineiev-