From e82cf2930cfb38e79a1cfb21d07f2c8326f0b950 Mon Sep 17 00:00:00 2001
From: Benjamin Koch <bbbsnowball@gmail.com>
Date: Sun, 23 Apr 2023 06:03:33 +0200
Subject: [PATCH] fix position of USB connector, as well

---
 c3pb-heizung/c3pb-heizung.kicad_pcb           | 124 +++++++++---------
 ..._C_Receptacle_HRO_TYPE-C-31-M-12.kicad_mod |  78 +++++------
 .../JLCPCB/c3pb-heizung_cpl_jlc.csv           |   8 +-
 generate-only-jlc.sh                          |   3 +
 4 files changed, 108 insertions(+), 105 deletions(-)
 create mode 100644 generate-only-jlc.sh

diff --git a/c3pb-heizung/c3pb-heizung.kicad_pcb b/c3pb-heizung/c3pb-heizung.kicad_pcb
index 084ee47..e9a98d7 100644
--- a/c3pb-heizung/c3pb-heizung.kicad_pcb
+++ b/c3pb-heizung/c3pb-heizung.kicad_pcb
@@ -5287,7 +5287,7 @@
 
   (footprint "c3pb-heizung:USB_C_Receptacle_HRO_TYPE-C-31-M-12" (layer "F.Cu")
     (tedit 5D3C0721) (tstamp a69df760-5a4b-43e4-9539-4e2b41f3b03b)
-    (at 185.785 79.375 90)
+    (at 183.285 79.375 90)
     (descr "USB Type-C receptacle for USB 2.0 and PD, http://www.krhro.com/uploads/soft/180320/1-1P320120243.pdf")
     (tags "usb usb-c 2.0 pd")
     (property "LCSC" "C165948")
@@ -5295,75 +5295,75 @@
     (property "Sheetname" "")
     (path "/1aae3d29-6147-434d-b259-ab8ac9e413ec")
     (attr smd)
-    (fp_text reference "J2" (at -4.191 -5.826) (layer "F.SilkS")
+    (fp_text reference "J2" (at -4.291 -3.526) (layer "F.SilkS")
       (effects (font (size 0.6 0.6) (thickness 0.15)))
-      (tstamp 17930339-dc06-4c26-a886-22092aed762a)
+      (tstamp 49065716-6189-4805-ad3e-9755441e180b)
     )
     (fp_text value "USB_C_Receptacle_USB2.0" (at 0 5.1 90) (layer "F.Fab")
       (effects (font (size 1 1) (thickness 0.15)))
-      (tstamp aa4bee23-f50e-425c-9ecc-692537851098)
+      (tstamp ec7f98cb-4757-4d44-bb10-ecd331fc9cd8)
     )
     (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
       (effects (font (size 1 1) (thickness 0.15)))
-      (tstamp fcc74974-2639-4f0b-9d43-666fd3ebbcd5)
-    )
-    (fp_line (start 4.7 1) (end 4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp 055ce4f9-6416-4f01-8f80-41590b38ba7a))
-    (fp_line (start 4.7 -2.9) (end 4.7 -0.9) (layer "F.SilkS") (width 0.12) (tstamp 3727074b-69f1-419e-85e2-81e849d097a0))
-    (fp_line (start -4.7 -2.9) (end -4.7 -0.9) (layer "F.SilkS") (width 0.12) (tstamp 6d44df2f-5311-4f3f-b84a-cc11fe544278))
-    (fp_line (start -4.7 2.9) (end 4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp d9e0c1bc-de0d-496d-8a6e-f9130c727323))
-    (fp_line (start -4.7 1) (end -4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp e7fae768-931e-4d02-841f-9cac92b17e71))
-    (fp_line (start -5.32 -6.27) (end 5.32 -6.27) (layer "F.CrtYd") (width 0.05) (tstamp 4e1389d8-bea0-4281-a3db-b0aa355e96f4))
-    (fp_line (start -5.32 -6.27) (end -5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp 9998c37d-5688-4a4e-95d8-c8090b080045))
-    (fp_line (start -5.32 3.15) (end 5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp e4fa18d6-371f-45f9-b30d-f76f2e4ff19b))
-    (fp_line (start 5.32 -6.27) (end 5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp e614f077-9117-4c5d-8660-0f59fc5ca008))
-    (fp_line (start -4.47 -4.65) (end 4.47 -4.65) (layer "F.Fab") (width 0.1) (tstamp 14420305-4089-41c9-b6a2-a8771d716c29))
-    (fp_line (start -4.47 2.65) (end 4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp 6a98b587-435d-42d5-a193-f7ae238ed214))
-    (fp_line (start 4.47 -4.65) (end 4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp 71aadb24-c296-42d5-9e1c-2b943fcfd97a))
-    (fp_line (start -4.47 -4.65) (end -4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp e84ab3ba-21c0-4813-8bbf-a5ad095cce0e))
-    (pad "" np_thru_hole circle (at 2.89 -3.6 90) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp 404dc240-7ca2-4d78-bcd3-be14159035cf))
-    (pad "" np_thru_hole circle (at -2.89 -3.6 90) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp 8af91cd8-c2de-4f9b-8f5a-eac283501e7e))
-    (pad "A1" smd rect (at -3.25 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp c890bcc1-1b78-48ac-8686-034ad2b48066))
-    (pad "A4" smd rect (at -2.45 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp f9fb14bb-5724-4653-85fe-ce9fb9a61fee))
-    (pad "A5" smd rect (at -1.25 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 32 "Net-(J2-PadA5)") (pinfunction "CC1") (pintype "bidirectional") (tstamp 92c6be02-22e4-4858-ab45-7361a9bb4e51))
-    (pad "A6" smd rect (at -0.25 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 99 "/D+") (pinfunction "D+") (pintype "bidirectional") (tstamp 8322b944-ae2c-4ffe-b750-247ab875fe86))
-    (pad "A7" smd rect (at 0.25 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 100 "/D-") (pinfunction "D-") (pintype "bidirectional") (tstamp 5a7af868-5355-4540-87d9-4c717a0489f4))
-    (pad "A8" smd rect (at 1.25 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 54 "/SBU1") (pinfunction "SBU1") (pintype "bidirectional") (tstamp 8b1329bf-c2cf-4452-8098-18834d286a22))
-    (pad "A9" smd rect (at 2.45 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp daf4c0ba-31ad-450d-83f8-c26c16e966df))
-    (pad "A12" smd rect (at 3.25 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 4c5d43c6-1fe5-4bc6-95ba-a63f73be7852))
-    (pad "B1" smd rect (at 3.25 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 09ff192f-0ebb-40fa-a36f-55ae213a9c2c))
-    (pad "B4" smd rect (at 2.45 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 9aac4679-8901-4d0a-a4f3-8e10464802ed))
-    (pad "B5" smd rect (at 1.75 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 33 "Net-(J2-PadB5)") (pinfunction "CC2") (pintype "bidirectional") (tstamp 1112de47-2a5c-47d9-864b-01dea0ba4d42))
-    (pad "B6" smd rect (at 0.75 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 99 "/D+") (pinfunction "D+") (pintype "bidirectional") (tstamp 0c8404e5-9dd5-4f9c-9283-94a0240d1f7c))
-    (pad "B7" smd rect (at -0.75 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 100 "/D-") (pinfunction "D-") (pintype "bidirectional") (tstamp 26f29f95-75fd-47a7-93b0-a4c9ddf1148b))
-    (pad "B8" smd rect (at -1.75 -5.045 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 55 "/SBU2") (pinfunction "SBU2") (pintype "bidirectional") (tstamp 83c150c3-7fc6-49cc-b97d-ef4f13e1841e))
-    (pad "B9" smd rect (at -2.45 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 346639ac-cdd7-4a98-bb73-93e7e72c7c3a))
-    (pad "B12" smd rect (at -3.25 -5.045 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
-      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 39de2870-9ecb-4215-862e-852ab45a4b44))
-    (pad "S1" thru_hole oval (at 4.32 0.05 90) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
-      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 18534f81-dd10-477a-981f-eacf299692e0))
-    (pad "S1" thru_hole oval (at -4.32 0.05 90) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
-      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 4de55024-9ab7-4702-860f-676220092189))
-    (pad "S1" thru_hole oval (at -4.32 -4.13 90) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
-      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 5a12e61f-5fbf-46fa-ae89-3bb25cdeea15))
-    (pad "S1" thru_hole oval (at 4.32 -4.13 90) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
-      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 8c299a5b-1e85-4296-9c43-b6b7189de48a))
+      (tstamp 431bba43-e4e1-43dd-9ec7-cf668dd32651)
+    )
+    (fp_line (start -4.7 -0.4) (end -4.7 1.6) (layer "F.SilkS") (width 0.12) (tstamp 5109262a-570d-4627-bb78-3978024e44ba))
+    (fp_line (start -4.7 5.4) (end 4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp 5ca54b58-7edf-4246-8087-2a2031ff8f78))
+    (fp_line (start -4.7 3.5) (end -4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp 8508bef1-0aac-4793-bc34-38e5cac90e21))
+    (fp_line (start 4.7 -0.4) (end 4.7 1.6) (layer "F.SilkS") (width 0.12) (tstamp 959e91e8-d9a0-41cb-94e8-83d435707fed))
+    (fp_line (start 4.7 3.5) (end 4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp ec547588-1d56-485c-b026-e6b0d4607523))
+    (fp_line (start -5.32 -3.77) (end -5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp 29d24ecf-6fbf-4158-87f0-b1e407a0f66d))
+    (fp_line (start 5.32 -3.77) (end 5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp 2eafb592-0ca9-4857-a9f3-ed65ad91ab8a))
+    (fp_line (start -5.32 5.65) (end 5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp ba1a920b-2190-43e7-b76e-8d2c7486d853))
+    (fp_line (start -5.32 -3.77) (end 5.32 -3.77) (layer "F.CrtYd") (width 0.05) (tstamp c2014984-268e-49f1-8180-35672cbb1f50))
+    (fp_line (start 4.47 -2.15) (end 4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp 0d861b60-36a4-4fef-aee6-3d2006bd5b64))
+    (fp_line (start -4.47 -2.15) (end 4.47 -2.15) (layer "F.Fab") (width 0.1) (tstamp 31bb0c23-10b3-46fc-8e4c-a5902200f20c))
+    (fp_line (start -4.47 -2.15) (end -4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp 8cc37071-85e1-40a9-bc46-be357ce0c88c))
+    (fp_line (start -4.47 5.15) (end 4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp d62ade5b-9632-44ad-bfe4-6e211be82c48))
+    (pad "" np_thru_hole circle (at -2.89 -1.1 90) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp 40c6e7de-f528-46dd-95a1-e431ba9e18fb))
+    (pad "" np_thru_hole circle (at 2.89 -1.1 90) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp b1857514-e765-43ed-90b1-0b202cc8b8f7))
+    (pad "A1" smd rect (at -3.25 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 013be9cc-fedf-449c-b430-bb783a07629e))
+    (pad "A4" smd rect (at -2.45 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 9fe91358-cfd6-4b96-abee-a9133a8cc1ce))
+    (pad "A5" smd rect (at -1.25 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 32 "Net-(J2-PadA5)") (pinfunction "CC1") (pintype "bidirectional") (tstamp 5cc11451-b678-49a0-97e2-68bb301c2c54))
+    (pad "A6" smd rect (at -0.25 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 99 "/D+") (pinfunction "D+") (pintype "bidirectional") (tstamp 6c184892-a557-4de7-a8de-b255df6ad975))
+    (pad "A7" smd rect (at 0.25 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 100 "/D-") (pinfunction "D-") (pintype "bidirectional") (tstamp 73d5e28c-45bb-46d6-be81-7514e18ae3f5))
+    (pad "A8" smd rect (at 1.25 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 54 "/SBU1") (pinfunction "SBU1") (pintype "bidirectional") (tstamp e23f65a0-b74e-415c-bbc2-5750ce20e25b))
+    (pad "A9" smd rect (at 2.45 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 29fa9885-4585-4507-988f-b7af0a7c90fc))
+    (pad "A12" smd rect (at 3.25 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 29df013b-f16a-4ecc-94bf-6d306c41aaf6))
+    (pad "B1" smd rect (at 3.25 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp 13275bb5-3e6d-4dae-8222-22b3586ca0b5))
+    (pad "B4" smd rect (at 2.45 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 88c735ec-ca4d-4e6d-945e-857a0feffc38))
+    (pad "B5" smd rect (at 1.75 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 33 "Net-(J2-PadB5)") (pinfunction "CC2") (pintype "bidirectional") (tstamp b5adc012-961d-4362-b666-dc35410d83a2))
+    (pad "B6" smd rect (at 0.75 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 99 "/D+") (pinfunction "D+") (pintype "bidirectional") (tstamp 1c133831-ab27-4677-bd70-dfbb61c31de0))
+    (pad "B7" smd rect (at -0.75 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 100 "/D-") (pinfunction "D-") (pintype "bidirectional") (tstamp 5018d058-b3ba-43af-965f-b2a0d67aca63))
+    (pad "B8" smd rect (at -1.75 -2.545 90) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 55 "/SBU2") (pinfunction "SBU2") (pintype "bidirectional") (tstamp c38fff22-1acb-430d-a3e1-105cc5a1bc6d))
+    (pad "B9" smd rect (at -2.45 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 26 "VBUS") (pinfunction "VBUS") (pintype "passive") (tstamp 4ea57765-830e-4a46-8f61-4ae202f6a8ad))
+    (pad "B12" smd rect (at -3.25 -2.545 90) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask")
+      (net 4 "GND") (pinfunction "GND") (pintype "passive") (tstamp aabd8ba9-b344-494b-9ca2-38ff3842f889))
+    (pad "S1" thru_hole oval (at 4.32 2.55 90) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
+      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 3e6622ee-6b7f-464a-b516-6850232a9912))
+    (pad "S1" thru_hole oval (at 4.32 -1.63 90) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
+      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp 5996f1f3-5b1a-497d-86dc-7378e0600f75))
+    (pad "S1" thru_hole oval (at -4.32 -1.63 90) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
+      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp abd4d18f-82fa-452e-b93a-6b1a384fa4fc))
+    (pad "S1" thru_hole oval (at -4.32 2.55 90) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
+      (net 4 "GND") (pinfunction "SHIELD") (pintype "passive") (tstamp fc985642-972c-4dbe-b79a-e632f8af9af4))
     (model "./3d/USB_C_Receptacle_HRO_TYPE-C-31-M-12.wrl"
-      (offset (xyz 0 0 0))
+      (offset (xyz 0 -2.5 0))
       (scale (xyz 1 1 1))
       (rotate (xyz 0 0 180))
     )
diff --git a/c3pb-heizung/c3pb-heizung.pretty/USB_C_Receptacle_HRO_TYPE-C-31-M-12.kicad_mod b/c3pb-heizung/c3pb-heizung.pretty/USB_C_Receptacle_HRO_TYPE-C-31-M-12.kicad_mod
index bde0486..3536bd3 100644
--- a/c3pb-heizung/c3pb-heizung.pretty/USB_C_Receptacle_HRO_TYPE-C-31-M-12.kicad_mod
+++ b/c3pb-heizung/c3pb-heizung.pretty/USB_C_Receptacle_HRO_TYPE-C-31-M-12.kicad_mod
@@ -4,55 +4,55 @@
   (descr "USB Type-C receptacle for USB 2.0 and PD, http://www.krhro.com/uploads/soft/180320/1-1P320120243.pdf")
   (tags "usb usb-c 2.0 pd")
   (attr smd)
-  (fp_text reference "REF**" (at 0 -6.645) (layer "F.SilkS")
+  (fp_text reference "REF**" (at 0 -4.145) (layer "F.SilkS")
     (effects (font (size 1 1) (thickness 0.15)))
     (tstamp a144ce76-cc23-44fb-8108-bf18e64a4c3d)
   )
-  (fp_text value "USB_C_Receptacle_HRO_TYPE-C-31-M-12" (at 0 4.1) (layer "F.Fab")
+  (fp_text value "USB_C_Receptacle_HRO_TYPE-C-31-M-12" (at 0 6.6) (layer "F.Fab")
     (effects (font (size 1 1) (thickness 0.15)))
     (tstamp 0ca5cf76-e951-4e58-a402-14dc42a864b3)
   )
-  (fp_text user "${REFERENCE}" (at 0 -1) (layer "F.Fab")
+  (fp_text user "${REFERENCE}" (at 0 1.5) (layer "F.Fab")
     (effects (font (size 1 1) (thickness 0.15)))
     (tstamp 9189a13a-f353-4ddb-8257-370c54398cd0)
   )
-  (fp_line (start 4.7 -2.9) (end 4.7 -0.9) (layer "F.SilkS") (width 0.12) (tstamp 177e7db1-b916-4e65-ace8-532e6e1f85db))
-  (fp_line (start -4.7 1) (end -4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp 7abeef8d-db92-4e88-b3d6-7c7e4efa4938))
-  (fp_line (start -4.7 -2.9) (end -4.7 -0.9) (layer "F.SilkS") (width 0.12) (tstamp 9513b845-7495-41b4-99da-c8a12a5f4b76))
-  (fp_line (start 4.7 1) (end 4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp bd122681-67e3-4c23-b564-57e345c7c818))
-  (fp_line (start -4.7 2.9) (end 4.7 2.9) (layer "F.SilkS") (width 0.12) (tstamp f40329f5-4d09-479c-8f81-97fdcd13c5cd))
-  (fp_line (start -5.32 -6.27) (end 5.32 -6.27) (layer "F.CrtYd") (width 0.05) (tstamp 3215d7dd-650e-4c6a-86e5-bc970c8d9c6c))
-  (fp_line (start 5.32 -6.27) (end 5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp 3b610068-7f90-495b-a772-9a6b7e6a55c9))
-  (fp_line (start -5.32 3.15) (end 5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp c38cb6a1-740b-49d2-b49e-f8ce3382fe48))
-  (fp_line (start -5.32 -6.27) (end -5.32 3.15) (layer "F.CrtYd") (width 0.05) (tstamp d939342c-cab3-429e-ad71-738d34173267))
-  (fp_line (start -4.47 -4.65) (end -4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp 47095738-bb75-4e91-802c-f92840c443b3))
-  (fp_line (start -4.47 -4.65) (end 4.47 -4.65) (layer "F.Fab") (width 0.1) (tstamp 6142486d-ba8a-4b38-a6ca-d52b6a020ef2))
-  (fp_line (start -4.47 2.65) (end 4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp 84966fee-864e-4cdc-8345-c62bca33694f))
-  (fp_line (start 4.47 -4.65) (end 4.47 2.65) (layer "F.Fab") (width 0.1) (tstamp f6b3cf35-21be-4e1f-8c99-3404cfc41d3f))
-  (pad "" np_thru_hole circle (at 2.89 -3.6) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp 4558f1f0-2fa3-46e1-a220-284fa2707bb5))
-  (pad "" np_thru_hole circle (at -2.89 -3.6) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp e13b4b37-788a-41d5-87ca-c66be43ee32d))
-  (pad "A1" smd rect (at -3.25 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 245fae56-8b58-4bd8-bbf1-36624dc3fa3e))
-  (pad "A4" smd rect (at -2.45 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 412cd3c1-0d89-4ca6-be0e-1b17d8471f5a))
-  (pad "A5" smd rect (at -1.25 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 93953890-acba-456b-bb6d-b1e79179ffa0))
-  (pad "A6" smd rect (at -0.25 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6a642da3-3122-4031-a6e9-68498b0f5bb9))
-  (pad "A7" smd rect (at 0.25 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 01b9b129-063c-4bae-b620-9610006254cb))
-  (pad "A8" smd rect (at 1.25 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 46ecdf8a-0917-4257-a388-b77e7451dc23))
-  (pad "A9" smd rect (at 2.45 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp a35f3da7-7460-43f1-99b7-9ed521817778))
-  (pad "A12" smd rect (at 3.25 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 3795b0f1-50f9-473e-9d26-381fc08b3c2d))
-  (pad "B1" smd rect (at 3.25 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp c9e8a0db-2a60-41d9-b783-6c4e64a8fb5d))
-  (pad "B4" smd rect (at 2.45 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 51b193ee-c8c2-4ee6-8d8c-14b79a2c1520))
-  (pad "B5" smd rect (at 1.75 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 45f8f791-f545-4341-9848-fb81a03703a6))
-  (pad "B6" smd rect (at 0.75 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp efc27675-62a0-44de-8210-29c2190dd309))
-  (pad "B7" smd rect (at -0.75 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 96622dcb-c1cc-4b7d-8455-8cd0ce1e5c34))
-  (pad "B8" smd rect (at -1.75 -5.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 09bb6e12-e7e5-4788-b43e-4cc6c50a557a))
-  (pad "B9" smd rect (at -2.45 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 70539c09-2020-4a42-a156-43d1513170d0))
-  (pad "B12" smd rect (at -3.25 -5.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp eda87c04-3a59-4e2c-a9bd-f59ed31672aa))
-  (pad "S1" thru_hole oval (at -4.32 0.05) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask) (tstamp 5991ca6f-c5c1-4692-8fe9-cf4b7ca50c4b))
-  (pad "S1" thru_hole oval (at -4.32 -4.13) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask) (tstamp 69c3dc88-a37e-49ef-ae4d-497d3191ad5b))
-  (pad "S1" thru_hole oval (at 4.32 -4.13) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask) (tstamp af5ae63f-ef36-487e-a6b8-831b84890f25))
-  (pad "S1" thru_hole oval (at 4.32 0.05) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask) (tstamp e783dde5-f762-4528-9b55-9220820b0b1c))
+  (fp_line (start 4.7 -0.4) (end 4.7 1.6) (layer "F.SilkS") (width 0.12) (tstamp 177e7db1-b916-4e65-ace8-532e6e1f85db))
+  (fp_line (start -4.7 3.5) (end -4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp 7abeef8d-db92-4e88-b3d6-7c7e4efa4938))
+  (fp_line (start -4.7 -0.4) (end -4.7 1.6) (layer "F.SilkS") (width 0.12) (tstamp 9513b845-7495-41b4-99da-c8a12a5f4b76))
+  (fp_line (start 4.7 3.5) (end 4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp bd122681-67e3-4c23-b564-57e345c7c818))
+  (fp_line (start -4.7 5.4) (end 4.7 5.4) (layer "F.SilkS") (width 0.12) (tstamp f40329f5-4d09-479c-8f81-97fdcd13c5cd))
+  (fp_line (start -5.32 -3.77) (end 5.32 -3.77) (layer "F.CrtYd") (width 0.05) (tstamp 3215d7dd-650e-4c6a-86e5-bc970c8d9c6c))
+  (fp_line (start 5.32 -3.77) (end 5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp 3b610068-7f90-495b-a772-9a6b7e6a55c9))
+  (fp_line (start -5.32 5.65) (end 5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp c38cb6a1-740b-49d2-b49e-f8ce3382fe48))
+  (fp_line (start -5.32 -3.77) (end -5.32 5.65) (layer "F.CrtYd") (width 0.05) (tstamp d939342c-cab3-429e-ad71-738d34173267))
+  (fp_line (start -4.47 -2.15) (end -4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp 47095738-bb75-4e91-802c-f92840c443b3))
+  (fp_line (start -4.47 -2.15) (end 4.47 -2.15) (layer "F.Fab") (width 0.1) (tstamp 6142486d-ba8a-4b38-a6ca-d52b6a020ef2))
+  (fp_line (start -4.47 5.15) (end 4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp 84966fee-864e-4cdc-8345-c62bca33694f))
+  (fp_line (start 4.47 -2.15) (end 4.47 5.15) (layer "F.Fab") (width 0.1) (tstamp f6b3cf35-21be-4e1f-8c99-3404cfc41d3f))
+  (pad "" np_thru_hole circle (at 2.89 -1.1) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp 4558f1f0-2fa3-46e1-a220-284fa2707bb5))
+  (pad "" np_thru_hole circle (at -2.89 -1.1) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask) (tstamp e13b4b37-788a-41d5-87ca-c66be43ee32d))
+  (pad "A1" smd rect (at -3.25 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 245fae56-8b58-4bd8-bbf1-36624dc3fa3e))
+  (pad "A4" smd rect (at -2.45 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 412cd3c1-0d89-4ca6-be0e-1b17d8471f5a))
+  (pad "A5" smd rect (at -1.25 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 93953890-acba-456b-bb6d-b1e79179ffa0))
+  (pad "A6" smd rect (at -0.25 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6a642da3-3122-4031-a6e9-68498b0f5bb9))
+  (pad "A7" smd rect (at 0.25 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 01b9b129-063c-4bae-b620-9610006254cb))
+  (pad "A8" smd rect (at 1.25 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 46ecdf8a-0917-4257-a388-b77e7451dc23))
+  (pad "A9" smd rect (at 2.45 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp a35f3da7-7460-43f1-99b7-9ed521817778))
+  (pad "A12" smd rect (at 3.25 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 3795b0f1-50f9-473e-9d26-381fc08b3c2d))
+  (pad "B1" smd rect (at 3.25 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp c9e8a0db-2a60-41d9-b783-6c4e64a8fb5d))
+  (pad "B4" smd rect (at 2.45 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 51b193ee-c8c2-4ee6-8d8c-14b79a2c1520))
+  (pad "B5" smd rect (at 1.75 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 45f8f791-f545-4341-9848-fb81a03703a6))
+  (pad "B6" smd rect (at 0.75 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp efc27675-62a0-44de-8210-29c2190dd309))
+  (pad "B7" smd rect (at -0.75 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 96622dcb-c1cc-4b7d-8455-8cd0ce1e5c34))
+  (pad "B8" smd rect (at -1.75 -2.545) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 09bb6e12-e7e5-4788-b43e-4cc6c50a557a))
+  (pad "B9" smd rect (at -2.45 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 70539c09-2020-4a42-a156-43d1513170d0))
+  (pad "B12" smd rect (at -3.25 -2.545) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp eda87c04-3a59-4e2c-a9bd-f59ed31672aa))
+  (pad "S1" thru_hole oval (at -4.32 2.55) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask) (tstamp 5991ca6f-c5c1-4692-8fe9-cf4b7ca50c4b))
+  (pad "S1" thru_hole oval (at -4.32 -1.63) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask) (tstamp 69c3dc88-a37e-49ef-ae4d-497d3191ad5b))
+  (pad "S1" thru_hole oval (at 4.32 -1.63) (size 1 2.1) (drill oval 0.6 1.7) (layers *.Cu *.Mask) (tstamp af5ae63f-ef36-487e-a6b8-831b84890f25))
+  (pad "S1" thru_hole oval (at 4.32 2.55) (size 1 1.6) (drill oval 0.6 1.2) (layers *.Cu *.Mask) (tstamp e783dde5-f762-4528-9b55-9220820b0b1c))
   (model "${KICAD6_3DMODEL_DIR}/Connector_USB.3dshapes/USB_C_Receptacle_HRO_TYPE-C-31-M-12.wrl"
-    (offset (xyz 0 1 0))
+    (offset (xyz 0 -1.5 0))
     (scale (xyz 1 1 1))
     (rotate (xyz 0 0 0))
   )
diff --git a/c3pb-heizung/generated/Manufacturers/JLCPCB/c3pb-heizung_cpl_jlc.csv b/c3pb-heizung/generated/Manufacturers/JLCPCB/c3pb-heizung_cpl_jlc.csv
index fe7e073..f8aecca 100644
--- a/c3pb-heizung/generated/Manufacturers/JLCPCB/c3pb-heizung_cpl_jlc.csv
+++ b/c3pb-heizung/generated/Manufacturers/JLCPCB/c3pb-heizung_cpl_jlc.csv
@@ -52,10 +52,10 @@ Designator,Val,Package,Mid X,Mid Y,Rotation,Layer
 "F3","A72-185, 1.85A, 72V","JK60-110",158.7500,-110.9980,180.0000,top
 "F4","BSMD0805-050-24V, 500 mA, 24V","Fuse_0805_2012Metric",118.2624,-108.8644,-90.0000,top
 "J1","Conn_02x13_Counter_Clockwise","KF250T-5.0-2*13P",152.4000,-125.7300,180.0000,top
-"J2","USB_C_Receptacle_USB2.0","USB_C_Receptacle_HRO_TYPE-C-31-M-12",184.7850,-79.3750,90.0000,top
-"J3","Conn_01x03","PinHeader_1x03_P2.54mm_Vertical",138.1760,-70.3730,270.0000,top
-"J4","Conn_02x05_Counter_Clockwise","IDC-Header_2x05_P2.54mm_Vertical",171.1960,-102.1080,90.0000,top
-"J5","Conn_01x03","PinHeader_1x03_P2.54mm_Vertical",154.3962,-101.9048,0.0000,top
+"J2","USB_C_Receptacle_USB2.0","USB_C_Receptacle_HRO_TYPE-C-31-M-12",183.2850,-79.3750,90.0000,top
+"J3","Conn_01x03","PinHeader_1x03_P2.54mm_Vertical",138.1760,-72.9130,270.0000,top
+"J4","Conn_02x05_Counter_Clockwise","IDC-Header_2x05_P2.54mm_Vertical",169.9260,-97.0280,90.0000,top
+"J5","Conn_01x03","PinHeader_1x03_P2.54mm_Vertical",156.9362,-101.9048,0.0000,top
 "J6","Conn_01x01","PinHeader_1x01_P2.54mm_Vertical",165.7096,-80.1624,270.0000,top
 "J7","Conn_01x01","PinHeader_1x01_P2.54mm_Vertical",150.8760,-89.6540,270.0000,top
 "Q1","AO3400A / CJ2310","SOT-23",149.3520,-110.9980,0.0000,top
diff --git a/generate-only-jlc.sh b/generate-only-jlc.sh
new file mode 100644
index 0000000..1bf3ee7
--- /dev/null
+++ b/generate-only-jlc.sh
@@ -0,0 +1,3 @@
+for dir in c3pb-heizung c3pb-heizung-dcdc c3pb-heizung-display ; do
+    ( cd $dir && nix develop -c time kibot --skip-pre all JLCPCB_gerbers JLCPCB_drill JLCPCB_position JLCPCB_bom JLCPCB )
+done
-- 
GitLab