summaryrefslogtreecommitdiff
path: root/gerbonara/cad/protoboard.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-05-08 23:11:51 +0200
committerjaseg <git@jaseg.de>2023-05-08 23:11:51 +0200
commitb5ff6a966bf67774c2edf6b8d7dd85bd63a2f826 (patch)
treeff4096f927b6d779285dde155a249bb62fb980f7 /gerbonara/cad/protoboard.py
parentb1e189eed23e85c089de0e8507fc3ea81cc79324 (diff)
downloadgerbonara-b5ff6a966bf67774c2edf6b8d7dd85bd63a2f826.tar.gz
gerbonara-b5ff6a966bf67774c2edf6b8d7dd85bd63a2f826.tar.bz2
gerbonara-b5ff6a966bf67774c2edf6b8d7dd85bd63a2f826.zip
Fix variable expression calculationdev
Diffstat (limited to 'gerbonara/cad/protoboard.py')
-rw-r--r--gerbonara/cad/protoboard.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/protoboard.py b/gerbonara/cad/protoboard.py
index 91b07d1..6984ed6 100644
--- a/gerbonara/cad/protoboard.py
+++ b/gerbonara/cad/protoboard.py
@@ -715,14 +715,14 @@ def _demo():
#pattern3 = EmptyProtoArea(copper_fill=True)
#stack = TwoSideLayout(pattern2, pattern3)
#pattern2 = PatternProtoArea(2.54, obj=PoweredProto(), margin=1)
- #pattern3 = PatternProtoArea(2.54, obj=RFGroundProto())
+ pattern = PatternProtoArea(2.54, obj=RFGroundProto())
#stack = PropLayout([pattern2, pattern3], 'h', [0.5, 0.5])
#pattern = PropLayout([pattern1, stack], 'h', [0.5, 0.5])
#pattern = PatternProtoArea(2.54, obj=ManhattanPads(2.54))
#pattern = PatternProtoArea(2.54*1.5, obj=THTFlowerProto())
#pattern = PatternProtoArea(2.54, obj=THTPad.circle(0, 0, 0.9, 1.8, paste=False))
#pattern = PatternProtoArea(2.54, obj=PoweredProto())
- pattern = PatternProtoArea(2.54, obj=AlioCell(), margin=2)
+ #pattern = PatternProtoArea(2.54, obj=AlioCell(), margin=2)
pb = ProtoBoard(50, 47, pattern, mounting_hole_dia=3.2, mounting_hole_offset=5)
#pb = ProtoBoard(10, 10, pattern1)
print(pb.pretty_svg())