From 5c7bfb2744429a3ea311c68fb9fa269f155c5ed9 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 15 Apr 2023 22:26:38 +0200 Subject: Fix protoserve bugs in obround pads --- gerbonara/cad/protoboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gerbonara/cad/protoboard.py') diff --git a/gerbonara/cad/protoboard.py b/gerbonara/cad/protoboard.py index b61a0ed..3c523bc 100644 --- a/gerbonara/cad/protoboard.py +++ b/gerbonara/cad/protoboard.py @@ -497,7 +497,8 @@ def eval_value(value, total_length=None): def _demo(): - pattern1 = PatternProtoArea(2.54, obj=THTPad.circle(0, 0, 0.9, 1.8, paste=False)) + #pattern1 = PatternProtoArea(2.54, obj=THTPad.circle(0, 0, 0.9, 1.8, paste=False)) + pattern1 = PatternProtoArea(2.54, 3.84, obj=THTPad.obround(0, 0, 0.9, 1.8, 2.5, paste=False)) pattern2 = PatternProtoArea(1.2, 2.0, obj=SMDPad.rect(0, 0, 1.0, 1.8, paste=False)) pattern3 = PatternProtoArea(2.54, 1.27, obj=SMDPad.rect(0, 0, 2.3, 1.0, paste=False)) #pattern3 = EmptyProtoArea(copper_fill=True) -- cgit