Skip to content

Commit 6b7e741

Browse files
committed
Do not mirror bottom components positions for JLC PCB
1 parent e0e846f commit 6b7e741

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kikit/fab/jlcpcb.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ def modulePosition(module, placeOffset, compensation):
3131
return pos
3232

3333
def moduleX(module, placeOffset, compensation):
34-
pos = modulePosition(module, placeOffset, compensation)
35-
if module.GetLayer() == pcbnew.B_Cu:
36-
return -toMm(pos[0])
37-
return toMm(pos[0])
34+
# JLC PCB does not require mirrored X when the components are on the bottom side
35+
return toMm(modulePosition(module, placeOffset, compensation)[0])
3836

3937
def moduleY(module, placeOffset, compensation):
4038
return -toMm(modulePosition(module, placeOffset, compensation)[1])

0 commit comments

Comments
 (0)