From 38f766dc42e3bec72236cc34c6b74fc4dab37c4e Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 26 Apr 2023 22:57:14 +0200 Subject: Add spiky layout to protoserve --- gerbonara/cad/protoserve.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gerbonara/cad/protoserve.py') 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']) -- cgit