Skip to content

Commit

Permalink
Detect more types of layers that should be shown with holes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Nov 19, 2017
1 parent 17d42cd commit f3c01af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/gerber2png
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ for f in "$@" ; do
done

for f in $ALL_THE_FILES ; do
if [[ "$f" == *.g?l ]] ; then # gtl or gbl
#echo "$f - in copper"
if [[ "$f" == *.g?l || "$f" == *.g[23]* ]] ; then # gtl, gbl or inner
# Copper layers should have the drill layer ... if available
$GERBV -xps -o/tmp/gerbvtmp.$$.ps $DRILL_LAYER $SHOWN_COLOR "$f" $BACKGROUND_LAYERS 2>/dev/null
else
Expand Down

0 comments on commit f3c01af

Please sign in to comment.