From 0ae13de322386d1691de8f17491540d65178f865 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 12 Oct 2023 20:50:40 +0200 Subject: Fix trace orientation --- coil_test_board.py | 4 ++-- 1 file 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']: -- cgit