From ff26b0ec5e1d9f5651cf3e682e090562f25900ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 14 Oct 2023 07:17:09 +0200 Subject: [PATCH] fix spring terminal --- .../{kf141r-2.54.rb => terminal-spring_kf141r-2.54.rb} | 6 +++--- .../{kf141r-2.54.yaml => terminal-spring_kf141r-2.54.yaml} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename connector/{kf141r-2.54.rb => terminal-spring_kf141r-2.54.rb} (92%) rename connector/{kf141r-2.54.yaml => terminal-spring_kf141r-2.54.yaml} (98%) diff --git a/connector/kf141r-2.54.rb b/connector/terminal-spring_kf141r-2.54.rb similarity index 92% rename from connector/kf141r-2.54.rb rename to connector/terminal-spring_kf141r-2.54.rb index b080324..e2fcc0d 100755 --- a/connector/kf141r-2.54.rb +++ b/connector/terminal-spring_kf141r-2.54.rb @@ -17,8 +17,8 @@ datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54 housing: &template pattern: custom - height: 13.0 - bodyLength: 12.65 + height: 12.65 + bodyLength: 13.6 leadHeight: 3.50 leadWidth: 0.70 leadLength: 0.50 @@ -26,7 +26,7 @@ housing: &template horizontalPitch: 2.54 verticalPitch: 5.08 rowCount: 2 - bodyPosition: #{2.54 - 0.95}, #{-3.785 + 5.50} + bodyPosition: #{2.54 - 0.95}, #{13.60/-2+5.08/2+5.5} " variations.each do |v| diff --git a/connector/kf141r-2.54.yaml b/connector/terminal-spring_kf141r-2.54.yaml similarity index 98% rename from connector/kf141r-2.54.yaml rename to connector/terminal-spring_kf141r-2.54.yaml index 412f617..aec931b 100644 --- a/connector/kf141r-2.54.yaml +++ b/connector/terminal-spring_kf141r-2.54.yaml @@ -5,8 +5,8 @@ datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54 housing: &template pattern: custom - height: 13.0 - bodyLength: 12.65 + height: 12.65 + bodyLength: 13.6 leadHeight: 3.50 leadWidth: 0.70 leadLength: 0.50 @@ -14,7 +14,7 @@ housing: &template horizontalPitch: 2.54 verticalPitch: 5.08 rowCount: 2 - bodyPosition: 1.59, 1.7149999999999999 + bodyPosition: 1.59, 1.2400000000000002 pinout@2P: 1-2