diff options
author | jaseg <git@jaseg.de> | 2023-04-23 23:33:00 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-04-23 23:33:00 +0200 |
commit | bda404c18be7e6c8a82c2a4022bcde1215679b9e (patch) | |
tree | 87d71d788b27e8d6df07db2580a5fd46c67409f8 /gerbonara/aperture_macros | |
parent | aaaf96e8d91b38ca8bd2ca488e4ded729417f8e3 (diff) | |
download | gerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.tar.gz gerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.tar.bz2 gerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.zip |
Fix a bunch of failing tests
Diffstat (limited to 'gerbonara/aperture_macros')
-rw-r--r-- | gerbonara/aperture_macros/parse.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gerbonara/aperture_macros/parse.py b/gerbonara/aperture_macros/parse.py index 5ecc8ad..c1a776f 100644 --- a/gerbonara/aperture_macros/parse.py +++ b/gerbonara/aperture_macros/parse.py @@ -172,10 +172,10 @@ class GenericMacros: rounded_rect = ApertureMacro('GRR', [ ap.CenterLine('mm', [1, var(1)-2*var(3), var(2), 0, 0, var(6) * -deg_per_rad]), ap.CenterLine('mm', [1, var(1), var(2)-2*var(3), 0, 0, var(6) * -deg_per_rad]), - ap.Circle('mm', [1, var(3)*2, +(var(1)/2-var(3)), +(var(2)/2-var(3)), 0]), - ap.Circle('mm', [1, var(3)*2, +(var(1)/2-var(3)), -(var(2)/2-var(3)), 0]), - ap.Circle('mm', [1, var(3)*2, -(var(1)/2-var(3)), +(var(2)/2-var(3)), 0]), - ap.Circle('mm', [1, var(3)*2, -(var(1)/2-var(3)), -(var(2)/2-var(3)), 0]), + ap.Circle('mm', [1, var(3)*2, +(var(1)/2-var(3)), +(var(2)/2-var(3)), var(6) * -deg_per_rad]), + ap.Circle('mm', [1, var(3)*2, +(var(1)/2-var(3)), -(var(2)/2-var(3)), var(6) * -deg_per_rad]), + ap.Circle('mm', [1, var(3)*2, -(var(1)/2-var(3)), +(var(2)/2-var(3)), var(6) * -deg_per_rad]), + ap.Circle('mm', [1, var(3)*2, -(var(1)/2-var(3)), -(var(2)/2-var(3)), var(6) * -deg_per_rad]), *_generic_hole(4)]) # params: width, height, length difference between narrow side (top) and wide side (bottom), *hole, rotation |