Permalink
Browse files

Detect more types of layers that should be shown with holes.

  • Loading branch information...
hzeller committed Nov 19, 2017
1 parent 17d42cd commit f3c01afa3d2c027a7d3dff574aa67e1af9296c3c
Showing with 1 addition and 2 deletions.
  1. +1 −2 scripts/gerber2png
View
@@ -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

0 comments on commit f3c01af

Please sign in to comment.