Skip to content

Commit 15851c2

Browse files
committed
fix: JLCPCB specific rotation modifiers
1 parent 9bc27fd commit 15851c2

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

kibot.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
kibot:
44
version: 1
55

6+
filters:
7+
- name: fix_rotation
8+
comment: 'Adjust rotation for JLC'
9+
type: rot_footprint
10+
negative_bottom: false
11+
mirror_bottom: true
12+
offsets:
13+
- ["^PinHeader_2x05_P1\\.27mm_Vertical_SMD$", "0.00,0.00"]
14+
- ["^JST_PHD_B10B", "4.00,-0.85"]
15+
rotations:
16+
- ["^DGV20$", 270.0]
17+
- ["^PinHeader_2x13_P2\\.00mm_Vertical_SMD$", 270]
18+
- ["^JST_PHD_B10B", 180]
19+
rotations_and_offsets:
20+
- field: Reference
21+
regex: U6
22+
angle: 270.0
23+
- field: Reference
24+
regex: U8
25+
angle: 270.0
26+
627
import:
728
- file: Elecrow
829
definitions:
@@ -14,7 +35,8 @@ import:
1435
- file: JLCPCB
1536
definitions:
1637
_KIBOT_MANF_DIR: Manufacturers/JLCPCB
17-
_KIBOT_POS_PRE_TRANSFORM: '[''_kicost_rename'', ''_rot_footprint'']'
38+
_KIBOT_POS_PRE_TRANSFORM: '[''_kicost_rename'', ''fix_rotation'']'
39+
_KIBOT_POS_ONLY_SMD: false
1840
- file: MacroFab_XYRS
1941
definitions:
2042
_KIBOT_MPN_FIELD: ''

0 commit comments

Comments
 (0)