From e0029752498754ae40b513b62ee7e3aab6b94783 Mon Sep 17 00:00:00 2001 From: Martin Cejp Date: Sat, 26 Jan 2019 16:07:45 +0100 Subject: IPC356: Do not crash on record type 367 --- gerber/ipc356.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = {} -- cgit