diff options
author | jaseg <git@jaseg.de> | 2023-05-08 23:11:51 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-05-08 23:11:51 +0200 |
commit | b5ff6a966bf67774c2edf6b8d7dd85bd63a2f826 (patch) | |
tree | ff4096f927b6d779285dde155a249bb62fb980f7 /gerbonara/cad | |
parent | b1e189eed23e85c089de0e8507fc3ea81cc79324 (diff) | |
download | gerbonara-dev.tar.gz gerbonara-dev.tar.bz2 gerbonara-dev.zip |
Fix variable expression calculationdev
Diffstat (limited to 'gerbonara/cad')
-rw-r--r-- | gerbonara/cad/protoboard.py | 4 |
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()) |