diff options
author | jaseg <git@jaseg.de> | 2023-10-12 20:50:40 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-12 20:50:40 +0200 |
commit | 0ae13de322386d1691de8f17491540d65178f865 (patch) | |
tree | a7ea4c994c887e66e865bc6165d54587912e9d4d /coil_test_board.py | |
parent | c212663bb2c4753938ce2d9d2dc141ff65b6518a (diff) | |
download | gerbonara-0ae13de322386d1691de8f17491540d65178f865.tar.gz gerbonara-0ae13de322386d1691de8f17491540d65178f865.tar.bz2 gerbonara-0ae13de322386d1691de8f17491540d65178f865.zip |
Fix trace orientation
Diffstat (limited to 'coil_test_board.py')
-rw-r--r-- | coil_test_board.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coil_test_board.py b/coil_test_board.py index aab80f2..ddab2ae 100644 --- a/coil_test_board.py +++ b/coil_test_board.py @@ -366,8 +366,8 @@ for index, ((y, x), spec) in enumerate(zip(itertools.product(range(rows), range( w2 = (x - pad_length/2, y) x, y, _r, _f = pads.pad(1).abs_pos w1 = (x - pad_length/2, y) - b.add(cad_pr.Trace(w, pads.pad(1), coil.pad(1), waypoints=[w1], orientation=['cw'], side='top')) - b.add(cad_pr.Trace(w, pads.pad(2), coil.pad(2), waypoints=[w2], orientation=['ccw'], side='bottom')) + b.add(cad_pr.Trace(w, coil.pad(1), pads.pad(1), waypoints=[w1], orientation=['ccw'], side='top')) + b.add(cad_pr.Trace(w, coil.pad(2), pads.pad(2), waypoints=[w2], orientation=['cw'], side='bottom')) k = 3 for layer in ['F.SilkS', 'B.SilkS']: |