From 6d73196b347683c2e6864c3420c2708ae91de5a3 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 26 Mar 2024 10:54:00 -0300 Subject: [PATCH] [Rotations][Fixed] Pin header cases - The old ones works because the component is symetric - The new ones are coherent with the IC rotations --- kibot/misc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kibot/misc.py b/kibot/misc.py index 00c2faa58..feb48f4ad 100644 --- a/kibot/misc.py +++ b/kibot/misc.py @@ -390,13 +390,13 @@ ["^Diodes_PowerDI3333-8", 270.0], ["^Quectel_L80-R", 270.0], ["^SC-74-6", 180.0], - [r"^PinHeader_2x05_P1\.27mm_Vertical", 90.0], - [r"^PinHeader_2x03_P1\.27mm_Vertical", 90.0], + [r"^PinHeader_2x05_P1\.27mm_Vertical", -90.0], + [r"^PinHeader_2x03_P1\.27mm_Vertical", -90.0], ] DEFAULT_ROT_FIELDS = ['JLCPCB Rotation Offset', 'JLCRotOffset'] DEFAULT_OFFSETS = [["^USB_C_Receptacle_XKB_U262-16XN-4BVC11", (0.0, -1.44)], - [r"^PinHeader_2x05_P1\.27mm_Vertical", (2.54, 0.635)], - [r"^PinHeader_2x03_P1\.27mm_Vertical", (1.27, 0.635)], + [r"^PinHeader_2x05_P1\.27mm_Vertical", (-2.54, -0.635)], + [r"^PinHeader_2x03_P1\.27mm_Vertical", (-1.27, -0.635)], ] DEFAULT_OFFSET_FIELDS = ['JLCPCB Position Offset', 'JLCPosOffset']