Skip to content

Commit

Permalink
[Rotations][Fixed] Pin header cases
Browse files Browse the repository at this point in the history
- The old ones works because the component is symetric
- The new ones are coherent with the IC rotations
  • Loading branch information
set-soft committed Mar 26, 2024
1 parent 2b4477d commit 6d73196
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kibot/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down

0 comments on commit 6d73196

Please sign in to comment.