diff options
Diffstat (limited to 'gerbonara/cad/protoserve.py')
-rw-r--r-- | gerbonara/cad/protoserve.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gerbonara/cad/protoserve.py b/gerbonara/cad/protoserve.py index a210e91..c425af7 100644 --- a/gerbonara/cad/protoserve.py +++ b/gerbonara/cad/protoserve.py @@ -106,6 +106,9 @@ def deserialize(obj, unit): pattern_dia = mil(float(obj['pattern_dia'])) return pb.PatternProtoArea(2*pitch, 2*pitch, pb.THTFlowerProto(pitch, hole_dia, pattern_dia, unit=unit), unit=unit) + case 'spiky': + return pb.PatternProtoArea(2.54, 2.54, pb.SpikyProto(), unit=unit) + case 'rf': pitch = float(obj.get('pitch', 2.54)) hole_dia = float(obj['hole_dia']) |