summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2019-01-26 13:48:05 -0500
committerGitHub <noreply@github.com>2019-01-26 13:48:05 -0500
commit292f74dee92bc8c11e7ad51864ee96c411d14094 (patch)
treefaa07a0d56e16346c0cae3396d07f2bf9e1fdfcf /gerber
parent5d7def47f1250d625d2f4d7bb4ea4c5380389b46 (diff)
parente0029752498754ae40b513b62ee7e3aab6b94783 (diff)
downloadgerbonara-292f74dee92bc8c11e7ad51864ee96c411d14094.tar.gz
gerbonara-292f74dee92bc8c11e7ad51864ee96c411d14094.tar.bz2
gerbonara-292f74dee92bc8c11e7ad51864ee96c411d14094.zip
Merge pull request #91 from cejpmart/patch-1
IPC356: Do not crash on record type 367
Diffstat (limited to 'gerber')
-rw-r--r--gerber/ipc356.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/ipc356.py b/gerber/ipc356.py
index a831c0f..9337a99 100644
--- a/gerber/ipc356.py
+++ b/gerber/ipc356.py
@@ -281,7 +281,8 @@ class IPC356_TestRecord(object):
units = settings.units
angle = settings.angle_units
feature_types = {'1': 'through-hole', '2': 'smt',
- '3': 'tooling-feature', '4': 'tooling-hole'}
+ '3': 'tooling-feature', '4': 'tooling-hole',
+ '6': 'non-plated-tooling-hole'}
access = ['both', 'top', 'layer2', 'layer3', 'layer4', 'layer5',
'layer6', 'layer7', 'bottom']
record = {}